From: Takashi Iwai Date: Wed, 30 May 2012 13:22:39 +0000 (+0200) Subject: Fix the missing return value in emacs_c.c X-Git-Tag: unkotim211~53 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=aa08e30f79aa46f4d24430d0a851edeb1769cc16;p=timidity41%2Ftimidity41.git Fix the missing return value in emacs_c.c Signed-off-by: Takashi Iwai Signed-off-by: Hans de Goede --- diff --git a/interface/emacs_c.c b/interface/emacs_c.c index 0d726c5d..1f82e932 100644 --- 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)) {