aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-12-14 15:34:26 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-12-14 15:34:26 +0000
commit65487dc2b4af38e3443ec74a020c7b2b0ed703df (patch)
tree593b129f3200c93442bfef75a9f32bac0dd1a3aa /driver.c
parent3606dd6890c19b22b3eb1e5d08d6b456432b8a42 (diff)
downloadfetchmail-65487dc2b4af38e3443ec74a020c7b2b0ed703df.tar.gz
fetchmail-65487dc2b4af38e3443ec74a020c7b2b0ed703df.tar.bz2
fetchmail-65487dc2b4af38e3443ec74a020c7b2b0ed703df.zip
Search on both pollnames and via names.
svn path=/trunk/; revision=2270
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index 9b7f6be5..f9cd1763 100644
--- a/driver.c
+++ b/driver.c
@@ -2046,6 +2046,7 @@ const struct method *proto; /* protocol method table */
}
no_error:
+ /* ordinary termination with no errors -- officially log out */
ok = (protocol->logout_cmd)(sock, ctl);
/*
* Hmmmm...arguably this would be incorrect if we had fetches but
@@ -2057,6 +2058,7 @@ const struct method *proto; /* protocol method table */
goto closeUp;
cleanUp:
+ /* we only get here on error */
if (ok != 0 && ok != PS_SOCKET)
(protocol->logout_cmd)(sock, ctl);
SockClose(sock);