diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-10-01 03:05:18 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-10-01 03:05:18 +0000 |
commit | 6c6e203193dfb4a32fffd09e45f9cb53a8c4be58 (patch) | |
tree | 89d747088eb1d3e5f0e97513cc53c02caed00881 /driver.c | |
parent | c2d9bf6f5b0a8a9143763836c13d046ae26b313b (diff) | |
download | fetchmail-6c6e203193dfb4a32fffd09e45f9cb53a8c4be58.tar.gz fetchmail-6c6e203193dfb4a32fffd09e45f9cb53a8c4be58.tar.bz2 fetchmail-6c6e203193dfb4a32fffd09e45f9cb53a8c4be58.zip |
HMH's latest round of fixes.
svn path=/trunk/; revision=3529
Diffstat (limited to 'driver.c')
-rw-r--r-- | driver.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |