aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-03-07 08:07:27 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-03-07 08:07:27 +0000
commit6ac208976c5ac5839f92ac80ed00b0120d96fad5 (patch)
treeb127a69703cf9654ab5616e80a36b884a1b8deb3 /pop3.c
parentc50b1d7896a370af66c972c0f2090a61622e8a37 (diff)
downloadfetchmail-6ac208976c5ac5839f92ac80ed00b0120d96fad5.tar.gz
fetchmail-6ac208976c5ac5839f92ac80ed00b0120d96fad5.tar.bz2
fetchmail-6ac208976c5ac5839f92ac80ed00b0120d96fad5.zip
Fix wrong-password coredump.
svn path=/trunk/; revision=1693
Diffstat (limited to 'pop3.c')
-rw-r--r--pop3.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/pop3.c b/pop3.c
index 5873b488..11ef1105 100644
--- a/pop3.c
+++ b/pop3.c
@@ -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);
}
/*