From cc7773d1d114ba7b8846a8c9c508f89cb6012700 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 6 Apr 1997 21:42:00 +0000 Subject: Better error logging. svn path=/trunk/; revision=954 --- pop3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pop3.c') 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 -- cgit v1.2.3