diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2000-01-31 22:16:23 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2000-01-31 22:16:23 +0000 |
commit | 6ae74f9b7a1ec9170efa53cab74e889eb1697a50 (patch) | |
tree | 8bad50e9cdd67c73ebf90abb902b5c86adfa8ecb /interface.c | |
parent | 8fa6b11990283115b0751212222ff6aaaaf81e60 (diff) | |
download | fetchmail-6ae74f9b7a1ec9170efa53cab74e889eb1697a50.tar.gz fetchmail-6ae74f9b7a1ec9170efa53cab74e889eb1697a50.tar.bz2 fetchmail-6ae74f9b7a1ec9170efa53cab74e889eb1697a50.zip |
Graceful socket closing.
svn path=/trunk/; revision=2726
Diffstat (limited to 'interface.c')
-rw-r--r-- | interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface.c b/interface.c index 6ddbbbbf..7a485e78 100644 --- a/interface.c +++ b/interface.c @@ -174,7 +174,7 @@ static int get_ifinfo(const char *ifname, ifinfo_t *ifinfo) *sp = '/'; } if (socket_fd >= 0) - close(socket_fd); /* not checking should be safe, mode was "r" */ + SockClose(close(socket_fd)); if (stats_file) fclose(stats_file); /* not checking should be safe, mode was "r" */ return(result); |