[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] Re: (Discovery) Problems after upgrade to 1.9.33
On Sunday 23 Mar 2003 23:24, Matthias Andree wrote:
> Would you mind to share your debugging output diff? It might prove
> useful for other people, so if it's not too invasive, I might want to
> merge it.
No, that'd be fine. Assuming I've got this right (I've never supplied a
patch diff before) this should be a context diff against version 1.9.36
that does the trick:
*** fetchnews.c Tue Feb 25 13:59:26 2003
--- fetchnews.c.matt Mon Mar 24 18:30:38 2003
***************
*** 969,975 ****
--- 969,981 ----
l = getaline(nntpin);
/* timeout */
if (!l)
+ {
+ if (verbose > 2)
+ printf("Server disconnection or timeout before article could be retrieved\n");
+ if (debugmode)
+ syslog(LOG_DEBUG, "Server disconnection or timeout before article could be retrieved");
return server;
+ }
/* check proper reply code */
if (sscanf(l, "%3ld %lu", &n, &h) < 2 || ((n / 10) != 22)) {
if (verbose > 2)
Cheers,
Matt
--
"It's the small gaps between the rain that count,
and learning how to live amongst them."
-- Jeff Noon
--
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list