diff options
author | Qball Cow <qball@qballcow.nl> | 2005-11-16 14:43:04 +0000 |
---|---|---|
committer | Qball Cow <qball@qballcow.nl> | 2005-11-16 14:43:04 +0000 |
commit | 32e5f4ca2b43c310ff6639320dec2dd52f159f50 (patch) | |
tree | 5cc7966297e726b9b6cb961a28ec6979796acacb /src/listen.c | |
parent | 402c8cd707640f7bd857c3387a03bb4db40222d7 (diff) | |
download | mpd-32e5f4ca2b43c310ff6639320dec2dd52f159f50.tar.gz mpd-32e5f4ca2b43c310ff6639320dec2dd52f159f50.tar.xz mpd-32e5f4ca2b43c310ff6639320dec2dd52f159f50.zip |
DJWLindenaar balanced tree and master process patch
git-svn-id: https://svn.musicpd.org/mpd/trunk@3669 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/listen.c')
-rw-r--r-- | src/listen.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/listen.c b/src/listen.c index a951595fc..bea0be9bb 100644 --- a/src/listen.c +++ b/src/listen.c @@ -213,7 +213,10 @@ void closeAllListenSockets() { DEBUG("closing listen socket %i\n", i); while(close(listenSockets[i]) < 0 && errno==EINTR); } + freeAllListenSockets(); +} +void freeAllListenSockets() { numberOfListenSockets = 0; free(listenSockets); listenSockets = NULL; |