[evolution-patches] NNTP without login fails.



If we have no username, don't attempt to authenticate.

--- evolution-data-server-1.1.6/camel/providers/nntp/camel-nntp-store.c.orig	2005-03-03 11:07:23.000000000 +0000
+++ evolution-data-server-1.1.6/camel/providers/nntp/camel-nntp-store.c	2005-03-03 11:20:47.000000000 +0000
@@ -253,7 +253,7 @@ connect_to_server (CamelService *service
 	}
 
 	/* if we have username, try it here */
-	if (service->url->user != NULL
+	if (service->url->user != NULL && service->url->user[0] != 0
 	    && camel_nntp_try_authenticate(store, ex) != NNTP_AUTH_ACCEPTED)
 		goto fail;
   	


-- 
dwmw2




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]