diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-09-28 20:07:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-09-28 20:07:16 +0000 |
commit | ed3bd0c5048cac6def24c3d70f3eaaf449a38a82 (patch) | |
tree | 7904f574165ac345b8e23b1de9cbdcf01a0095cb /driver.c | |
parent | 09d6caaaecf34442bc5f6f1d74b7e2e6e11dc12f (diff) | |
download | fetchmail-ed3bd0c5048cac6def24c3d70f3eaaf449a38a82.tar.gz fetchmail-ed3bd0c5048cac6def24c3d70f3eaaf449a38a82.tar.bz2 fetchmail-ed3bd0c5048cac6def24c3d70f3eaaf449a38a82.zip |
Added --expunge option for Richard Kooidjman.
svn path=/trunk/; revision=1430
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1848,7 +1848,7 @@ const struct method *proto; /* protocol method table */ no_error: set_timeout(ctl->server.timeout); - ok = gen_transact(sock, protocol->exit_cmd); + ok = (protocol->logout_cmd)(sock, ctl); if (ok == 0) ok = (fetches > 0) ? PS_SUCCESS : PS_NOMAIL; set_timeout(0); @@ -1858,7 +1858,7 @@ const struct method *proto; /* protocol method table */ cleanUp: set_timeout(ctl->server.timeout); if (ok != 0 && ok != PS_SOCKET) - gen_transact(sock, protocol->exit_cmd); + (protocol->logout_cmd)(sock, ctl); set_timeout(0); close(sock); } |