aboutsummaryrefslogtreecommitdiffstats
path: root/src/directory.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-04-11 04:15:14 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-04-11 04:15:14 +0000
commit30d9589cb324d7657fc971ceb6574eb2fd7c9f5e (patch)
treeb1cd83d36900e946d552e1956a09e1001d784d78 /src/directory.c
parent4844e05e65570a660773eb15090ad482b59fd85a (diff)
downloadmpd-30d9589cb324d7657fc971ceb6574eb2fd7c9f5e.tar.gz
mpd-30d9589cb324d7657fc971ceb6574eb2fd7c9f5e.tar.xz
mpd-30d9589cb324d7657fc971ceb6574eb2fd7c9f5e.zip
fix some snafoos
git-svn-id: https://svn.musicpd.org/mpd/trunk@678 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/directory.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/directory.c b/src/directory.c
index 17d91631c..ec4b1f19d 100644
--- a/src/directory.c
+++ b/src/directory.c
@@ -30,6 +30,7 @@
#include "interface.h"
#include "volume.h"
#include "mpd_types.h"
+#include "sig_handlers.h"
#include <string.h>
#include <sys/types.h>
@@ -130,6 +131,7 @@ int updateInit(FILE * fp) {
sigaction(SIGPIPE,&sa,NULL);
sigaction(SIGCHLD,&sa,NULL);
+ finishSigHandlers();
close(listenSocket);
freeAllInterfaces();
finishPlaylist();