From 6c6e203193dfb4a32fffd09e45f9cb53a8c4be58 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 1 Oct 2001 03:05:18 +0000 Subject: HMH's latest round of fixes. svn path=/trunk/; revision=3529 --- design-notes.html | 6 +++--- driver.c | 4 +++- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/design-notes.html b/design-notes.html index 2054f435..1b850279 100644 --- a/design-notes.html +++ b/design-notes.html @@ -10,7 +10,7 @@
Back to Fetchmail Home Page To Site Map -$Date: 2001/07/31 05:54:40 $ +$Date: 2001/10/01 03:05:18 $

Design Notes On Fetchmail

@@ -299,7 +299,7 @@ Internationalization is handled using GNU gettext (see the file ABOUT_NLS in the source distribution). This places some minor constraints on the code.

-Strings that must be subject to translation should be wrapped with _() +Strings that must be subject to translation should be wrapped with GT_() or N_() -- the former in function arguments, the latter in static initializers and other non-function-argument contexts.

@@ -555,7 +555,7 @@ RFC2221 IMAP4 Login Referrals
Back to Fetchmail Home Page To Site Map -$Date: 2001/07/31 05:54:40 $ +$Date: 2001/10/01 03:05:18 $

Eric S. Raymond <esr@snark.thyrsus.com>
diff --git a/driver.c b/driver.c index 19e16a3f..666c4fb8 100644 --- a/driver.c +++ b/driver.c @@ -105,12 +105,14 @@ static void cleanup_timeout_handler (int signal) { } static int cleanupSockClose (int fd) /* close sockets in maximum CLEANUP_TIMEOUT seconds during cleanup */ { + int scerror; void (*alrmsave)(int); alrmsave = signal(SIGALRM, cleanup_timeout_handler); set_timeout(CLEANUP_TIMEOUT); - SockClose(fd); + scerror = SockClose(fd); set_timeout(0); signal(SIGALRM, alrmsave); + return (scerror); } #ifdef KERBEROS_V4 -- cgit v1.2.3