From 9de124d371e99f57c9340b454a59b6c4603392b4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 29 May 2001 22:48:06 +0000 Subject: Before trying to fix the no-reset bug. svn path=/trunk/; revision=3329 --- interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'interface.c') diff --git a/interface.c b/interface.c index 0df520f9..1d61b367 100644 --- a/interface.c +++ b/interface.c @@ -181,7 +181,7 @@ static int get_ifinfo(const char *ifname, ifinfo_t *ifinfo) *sp = '/'; } if (socket_fd >= 0) - SockClose(close(socket_fd)); + SockClose(socket_fd); if (stats_file) fclose(stats_file); /* not checking should be safe, mode was "r" */ return(result); -- cgit v1.2.3