From ce2c176609bad7835f765b8cd5543ef39c24472c Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Fri, 4 Nov 2005 21:10:24 +0000 Subject: [PATCH] Backport 13132 --- src/misc/vlm.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; -- 2.39.2