Mercurial > noffle
diff src/fetch.c @ 193:021d145e34e9 noffle
[svn] * src/fetch.c: Only leave articles in the requested list if the error
fetching them was fatal. Otherwise article requests will accumulate
indefinitely (e.g retrieving through NNTPcache when it can't find
the body of an article, now or event. Yes, this happened to me; I
had nearly 2000 requests backed up and never being cleared).
* src/group.c: The weekend's change introduced code that causes a bus
error on Sparc ( *(time_t *)p = xxx ). Replace with a safe memcpy,
and also use memcpy when reading the Entry and time items to remove
warnings on Sparc compilation.
author | bears |
---|---|
date | Mon, 22 Oct 2001 14:41:43 +0100 |
parents | f1bacee93ca6 |
children | 24d4cd032da5 |
line wrap: on
line diff
--- a/src/fetch.c Sun Oct 21 12:00:12 2001 +0100 +++ b/src/fetch.c Mon Oct 22 14:41:43 2001 +0100 @@ -1,7 +1,7 @@ /* fetch.c - $Id: fetch.c 307 2001-09-12 20:33:44Z bears $ + $Id: fetch.c 312 2001-10-22 13:41:43Z bears $ */ #if HAVE_CONFIG_H @@ -214,7 +214,7 @@ ASSERT( Lock_gotLock() ); stat = Client_retrieveArtList( list, artcnt, artmax ); - if ( stat != STAT_OK ) + if ( IS_FATAL( stat ) ) return stat; p = list; while ( ( p = Utl_getLn( msgId, p ) ) )