diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-04-06 21:42:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-04-06 21:42:00 +0000 |
commit | cc7773d1d114ba7b8846a8c9c508f89cb6012700 (patch) | |
tree | 766975bb36cd88f0ffee995eb664ad5247c0368c /pop3.c | |
parent | 3c9b31ad837bed8e9c556107f77b5ad96be1a4d1 (diff) | |
download | fetchmail-cc7773d1d114ba7b8846a8c9c508f89cb6012700.tar.gz fetchmail-cc7773d1d114ba7b8846a8c9c508f89cb6012700.tar.bz2 fetchmail-cc7773d1d114ba7b8846a8c9c508f89cb6012700.zip |
Better error logging.
svn path=/trunk/; revision=954
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -71,7 +71,7 @@ int pop3_getauth(FILE *sockfp, struct query *ctl, char *greeting) for (start = greeting; *start != 0 && *start != '<'; start++) continue; if (*start == 0) { - error(0, 0, "Required APOP timestamp not found in greeting"); + error(0, -1, "Required APOP timestamp not found in greeting"); return(PS_AUTHFAIL); } @@ -79,7 +79,7 @@ int pop3_getauth(FILE *sockfp, struct query *ctl, char *greeting) for (end = start; *end != 0 && *end != '>'; end++) continue; if (*end == 0 || end == start + 1) { - error(0, 0, "Timestamp syntax error in greeting"); + error(0, -1, "Timestamp syntax error in greeting"); return(PS_AUTHFAIL); } else |