From 757e576537a1a17821ac91567a53f314ca764a94 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Tue, 2 May 2006 06:12:38 +0000 Subject: [PATCH] make empty password same as unspecified password. --- src/dispatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dispatch.c b/src/dispatch.c index 4fb4304e..4e831d6f 100644 --- a/src/dispatch.c +++ b/src/dispatch.c @@ -133,7 +133,7 @@ int daap_auth(WS_CONNINFO *pwsc, char *username, char *password) { readpassword = conf_alloc_string("general","password",NULL); if(password == NULL) { - if(readpassword == NULL) { + if((readpassword == NULL)||(strlen(readpassword) == 0)) { return TRUE; } else { free(readpassword);