From 287c35d25db9218d9c67a99f170e9e40bd2103ca Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Tue, 1 Aug 2006 03:34:51 +0000 Subject: [PATCH] disable updates pending implementation of incremental updats --- src/dispatch.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/dispatch.c b/src/dispatch.c index b2e43a9e..60b7f296 100644 --- a/src/dispatch.c +++ b/src/dispatch.c @@ -1406,7 +1406,6 @@ void dispatch_update(WS_CONNINFO *pwsc, DBQUERYINFO *pqi) { if(FD_ISSET(pwsc->fd,&rset)) { /* can't be ready for read, must be error */ DPRINTF(E_DBG,L_DAAP,"Update session stopped\n"); - pwsc->close=1; return; } } @@ -1522,10 +1521,10 @@ void dispatch_server_info(WS_CONNINFO *pwsc, DBQUERYINFO *pqi) { int apro = 3 << 16; char *servername; int actual_length; - int supports_update; + int supports_update=0; servername = conf_get_servername(); - supports_update = conf_get_int("daap","supports_update",1); + // supports_update = conf_get_int("daap","supports_update",1); actual_length=130 + (int) strlen(servername); if(!supports_update)