From 01b42d3108d1b5e13aa38a31dc62f33597675548 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Sun, 12 Sep 2010 17:31:31 +0200 Subject: [PATCH] Fix typo, checking for evbuf instead of update --- src/httpd_dacp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/httpd_dacp.c b/src/httpd_dacp.c index 59b025b5..d7a71787 100644 --- a/src/httpd_dacp.c +++ b/src/httpd_dacp.c @@ -306,7 +306,7 @@ playstatusupdate_cb(int fd, short what, void *arg) } update = evbuffer_new(); - if (!evbuf) + if (!update) { DPRINTF(E_LOG, L_DACP, "Could not allocate evbuffer for playstatusupdate data\n");