diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-20 09:54:04 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-12-20 09:54:04 +0000 |
commit | 76007a666e17d9456cd7e3864f4e23223fae94c3 (patch) | |
tree | eb38b42d3ac2ea71d108b4d7cb605ccc57b0c958 /syslogd.c | |
parent | 177eb0ec5d444537dd11c1dde3a20189d1e3ba71 (diff) | |
download | rsyslog-76007a666e17d9456cd7e3864f4e23223fae94c3.tar.gz rsyslog-76007a666e17d9456cd7e3864f4e23223fae94c3.tar.xz rsyslog-76007a666e17d9456cd7e3864f4e23223fae94c3.zip |
bugfix: when compiled without network support, unix sockets were not
properly closed
Diffstat (limited to 'syslogd.c')
-rw-r--r-- | syslogd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3634,11 +3634,11 @@ static void die(int sig) #endif /* now clean up the listener part */ -#ifdef SYSLOG_INET /* Close the UNIX sockets. */ for (i = 0; i < nfunix; i++) if (funix[i] != -1) close(funix[i]); +#ifdef SYSLOG_INET /* Close the UDP inet socket. */ closeUDPListenSockets(); /* Close the TCP inet socket. */ |