projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b976cf
)
audiod clean_exit(): Only check status fd once
author
Andre
<maan@p133.(none)>
Thu, 15 Jun 2006 06:08:38 +0000
(08:08 +0200)
committer
Andre
<maan@p133.(none)>
Thu, 15 Jun 2006 06:08:38 +0000
(08:08 +0200)
The close_stat_pipe() already does this check.
audiod.c
patch
|
blob
|
history
diff --git
a/audiod.c
b/audiod.c
index 90290639d853ce3fb7fd7572b8e136669b66642a..8b9f181b80edfb74b31ec08aed23d61d74c8c19f 100644
(file)
--- a/
audiod.c
+++ b/
audiod.c
@@
-288,8
+288,7
@@
void __noreturn clean_exit(int status, const char *msg)
PARA_EMERG_LOG("%s\n", msg);
if (socket_name)
unlink(socket_name);
- if (stat_task->fd >= 0)
- close_stat_pipe();
+ close_stat_pipe();
exit(status);
}