OSDN Git Service
(root)
/
timidity41
/
timidity41.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b3564b
)
Fix the missing return value in emacs_c.c
author
Takashi Iwai
<tiwai@suse.de>
Wed, 30 May 2012 13:22:39 +0000
(15:22 +0200)
committer
Hans de Goede
<hdegoede@redhat.com>
Fri, 1 Jun 2012 15:51:52 +0000
(17:51 +0200)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
interface/emacs_c.c
patch
|
blob
|
history
diff --git
a/interface/emacs_c.c
b/interface/emacs_c.c
index
0d726c5
..
1f82e93
100644
(file)
--- a/
interface/emacs_c.c
+++ b/
interface/emacs_c.c
@@
-285,7
+285,7
@@
static int ctl_pass_playing_list(int argc, char *argv[])
int rc;
if(fgets(cmd, sizeof(cmd), stdin) == NULL)
- return; /* Emacs may down */
+ return
0
; /* Emacs may down */
chomp(cmd);
if(!strncmp(cmd, "PLAY", 4))
{