diff options
author | Ian C <ianc@noddybox.co.uk> | 2003-12-08 02:20:14 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2003-12-08 02:20:14 +0000 |
commit | 1c161a8cbe16aa59cc8bf4d60d5fa64fdcbc6aa5 (patch) | |
tree | 355d3a053199f03f5e13d8fa25b05723bf1da720 /src/pop3.c | |
parent | 787bb7625c9abc6b09efbc6bbe004a19d4b96166 (diff) |
Added subject_macro; Tweaked check order; Fixed some warnings
Diffstat (limited to 'src/pop3.c')
-rw-r--r-- | src/pop3.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -31,6 +31,7 @@ static const char id[]="$Id$"; #include <stdarg.h> #include <ctype.h> +#include <unistd.h> #include <sys/types.h> #include <sys/select.h> #include <sys/socket.h> @@ -183,7 +184,6 @@ static int GetChar(void) static char buff[BLOCKSIZE]; static ssize_t len=0; static int ptr=0; - int ch; if (len==0 || ptr==len) { @@ -214,10 +214,9 @@ static int GetChar(void) static int GetLine(DString t) { - size_t size; int done; - int ch; int last; + int ch; done=FALSE; |