projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cccdce2
)
afs.c execute_server_command(): Improve log message.
author
Andre Noll
<maan@systemlinux.org>
Wed, 24 Oct 2007 12:38:14 +0000
(14:38 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Wed, 24 Oct 2007 12:38:14 +0000
(14:38 +0200)
afs.c
patch
|
blob
|
history
diff --git
a/afs.c
b/afs.c
index 2cbb010dcc8f7d9b35ab2c0ef45ac8a1f5ce7140..950b404ed643d23b20400d3a4ebea523319ca20b 100644
(file)
--- a/
afs.c
+++ b/
afs.c
@@
-833,7
+833,8
@@
static void execute_server_command(void)
PARA_NOTICE_LOG("received: %s\n", buf);
if (!strcmp(buf, "new")) {
ret = open_next_audio_file();
- PARA_NOTICE_LOG("ret: %d\n", ret);
+ if (ret < 0)
+ PARA_ERROR_LOG("%s\n", PARA_STRERROR(-ret));
return;
}
PARA_ERROR_LOG("unknown command\n");