From ed3bd0c5048cac6def24c3d70f3eaaf449a38a82 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 28 Sep 1997 20:07:16 +0000 Subject: Added --expunge option for Richard Kooidjman. svn path=/trunk/; revision=1430 --- driver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'driver.c') diff --git a/driver.c b/driver.c index 33c85c76..796574d4 100644 --- a/driver.c +++ b/driver.c @@ -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); } -- cgit v1.2.3