Mercurial > noffle
view src/control.h @ 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 | 32ba1198c6fa |
children |
line wrap: on
line source
/* control.h Control actions needed by server and command line. $Id: control.h 51 2000-05-05 23:49:38Z uh1763 $ */ #ifndef CONTROL_H #define CONTROL_H #if HAVE_CONFIG_H #include <config.h> #endif #define CANCEL_OK 0 #define CANCEL_NO_SUCH_MSG 1 #define CANCEL_NEEDS_MSG 2 /* Cancel a message. Return CANCEL_OK if completely cancelled, CANCEL_NO_SUCH_MSG if no message with that ID exists, and CANCEL_NEEDS_MSG if a 'cancel' message should be propagated upstream to cancel the message elsewhere. */ int Ctrl_cancel( const char *msgId ); #endif