Mercurial > noffle
view src/control.h @ 268:f049f8639dc0 noffle
[svn] * src/client.c: Fix old bug in readField() where the last field in a line
would not terminate the buffer properly if the line ended with \0. This
could in practice lead to rubbish in the Lines: field, with extra
numerals from the preceding Bytes: field being added.
author | bears |
---|---|
date | Tue, 08 Oct 2002 14:52:52 +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