disable updates pending implementation of incremental updats

This commit is contained in:
Ron Pedde 2006-08-01 03:34:51 +00:00
parent a024a24c2c
commit 287c35d25d
1 changed files with 2 additions and 3 deletions

View File

@ -1406,7 +1406,6 @@ void dispatch_update(WS_CONNINFO *pwsc, DBQUERYINFO *pqi) {
if(FD_ISSET(pwsc->fd,&rset)) { if(FD_ISSET(pwsc->fd,&rset)) {
/* can't be ready for read, must be error */ /* can't be ready for read, must be error */
DPRINTF(E_DBG,L_DAAP,"Update session stopped\n"); DPRINTF(E_DBG,L_DAAP,"Update session stopped\n");
pwsc->close=1;
return; return;
} }
} }
@ -1522,10 +1521,10 @@ void dispatch_server_info(WS_CONNINFO *pwsc, DBQUERYINFO *pqi) {
int apro = 3 << 16; int apro = 3 << 16;
char *servername; char *servername;
int actual_length; int actual_length;
int supports_update; int supports_update=0;
servername = conf_get_servername(); 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); actual_length=130 + (int) strlen(servername);
if(!supports_update) if(!supports_update)