diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-03-07 08:07:27 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-03-07 08:07:27 +0000 |
commit | 6ac208976c5ac5839f92ac80ed00b0120d96fad5 (patch) | |
tree | b127a69703cf9654ab5616e80a36b884a1b8deb3 | |
parent | c50b1d7896a370af66c972c0f2090a61622e8a37 (diff) | |
download | fetchmail-6ac208976c5ac5839f92ac80ed00b0120d96fad5.tar.gz fetchmail-6ac208976c5ac5839f92ac80ed00b0120d96fad5.tar.bz2 fetchmail-6ac208976c5ac5839f92ac80ed00b0120d96fad5.zip |
Fix wrong-password coredump.
svn path=/trunk/; revision=1693
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | pop3.c | 7 |
2 files changed, 8 insertions, 4 deletions
@@ -14,6 +14,11 @@ Release Notes: ------------------------------------------------------------------------------ +fetchmail-4.4.0 (): +* Fix bug that prevented graceful exit from POP3 validation on wrong password. + +There are 275 people on fetchmail-friends and 153 on fetchmail-announce. + fetchmail-4.3.9 (Fri Mar 6 10:45:32 EST 1998): * Relax the LOGIN capability check in IMAP. * John Stracke <francis@netscape.com> sent a workaround for SIGALRM flakiness @@ -216,14 +216,13 @@ int pop3_getauth(int sock, struct query *ctl, char *greeting) ok = PS_ERROR; } - /* maybe we detected a lock-busy condition? */ if (ok != 0) { + /* maybe we detected a lock-busy condition? */ if (ok == PS_LOCKBUSY) - { error(0, 0, "lock busy! Is another session active?"); - return(PS_LOCKBUSY); - } + + return(ok); } /* |