From: RĂ©mi Denis-Courmont Date: Fri, 4 Nov 2005 21:10:24 +0000 (+0000) Subject: Backport 13132 X-Git-Tag: 0.8.4~73 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=ce2c176609bad7835f765b8cd5543ef39c24472c;p=vlc Backport 13132 --- diff --git a/src/misc/vlm.c b/src/misc/vlm.c index b23e19a397..72779c8edd 100644 --- a/src/misc/vlm.c +++ b/src/misc/vlm.c @@ -360,7 +360,11 @@ static int ExecuteCommand( vlm_t *p_vlm, char *psz_command, psz_temp = FindEndCommand( psz_cmd ); - if( psz_temp == NULL ) goto error; + if( psz_temp == NULL ) + { + p_message = vlm_MessageNew( "Incomplete command", psz_cmd ); + goto error; + } i_temp = psz_temp - psz_cmd;