diff options
author | Max Kellermann <max@duempel.org> | 2009-01-03 14:53:36 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-03 14:53:36 +0100 |
commit | d1c4f261c83e26c924d75b7f053890a2811f4ff3 (patch) | |
tree | 5d8926737d051a6223848338636c5697eec5ca42 /src/event_pipe.c | |
parent | 206611e2808d71c82664103d67f060ddcdf4d38d (diff) | |
download | mpd-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.c | 5 |
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 |