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

[leafnode-list] [PATCH] Print username in case of authentication problems in fetchnews



--- orig/fetchnews.c
+++ mod/fetchnews.c
@@ -1852,8 +1852,8 @@
 
     /* authenticate */
     if (cursrv->username && !authenticate(cursrv)) {
-	ln_log(LNLOG_SERR, LNLOG_CSERVER, "%s: error, cannot authenticate",
-		cursrv->name);
+	ln_log(LNLOG_SERR, LNLOG_CSERVER, "%s@%s: error, cannot authenticate",
+ 	        cursrv->username, cursrv->name);
 	goto out;
     }
 




-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
http://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/