From 65487dc2b4af38e3443ec74a020c7b2b0ed703df Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 14 Dec 1998 15:34:26 +0000 Subject: Search on both pollnames and via names. svn path=/trunk/; revision=2270 --- driver.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'driver.c') 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); -- cgit v1.2.3