aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-04-06 21:42:00 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-04-06 21:42:00 +0000
commitcc7773d1d114ba7b8846a8c9c508f89cb6012700 (patch)
tree766975bb36cd88f0ffee995eb664ad5247c0368c /pop3.c
parent3c9b31ad837bed8e9c556107f77b5ad96be1a4d1 (diff)
downloadfetchmail-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pop3.c b/pop3.c
index 4a232a1a..01bae347 100644
--- a/pop3.c
+++ b/pop3.c
@@ -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