aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-03 14:53:36 +0100
committerMax Kellermann <max@duempel.org>2009-01-03 14:53:36 +0100
commitd1c4f261c83e26c924d75b7f053890a2811f4ff3 (patch)
tree5d8926737d051a6223848338636c5697eec5ca42 /src
parent206611e2808d71c82664103d67f060ddcdf4d38d (diff)
downloadmpd-d1c4f261c83e26c924d75b7f053890a2811f4ff3.tar.gz
mpd-d1c4f261c83e26c924d75b7f053890a2811f4ff3.tar.xz
mpd-d1c4f261c83e26c924d75b7f053890a2811f4ff3.zip
event_pipe: use close() instead of xclose()
xclose() aims to be the signal safe version of close(). However during cleanup, this isn't important.
Diffstat (limited to '')
-rw-r--r--src/event_pipe.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/event_pipe.c b/src/event_pipe.c
index 6fa89616f..79e667695 100644
--- a/src/event_pipe.c
+++ b/src/event_pipe.c
@@ -19,7 +19,6 @@
*/
#include "event_pipe.h"
-#include "utils.h"
#include "log.h"
#include <assert.h>
@@ -104,8 +103,8 @@ void event_pipe_deinit(void)
{
g_mutex_free(event_pipe_mutex);
- xclose(event_pipe[0]);
- xclose(event_pipe[1]);
+ close(event_pipe[0]);
+ close(event_pipe[1]);
}
void