]> git.sesse.net Git - vlc/commitdiff
Backport 13132
authorRémi Denis-Courmont <rem@videolan.org>
Fri, 4 Nov 2005 21:10:24 +0000 (21:10 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Fri, 4 Nov 2005 21:10:24 +0000 (21:10 +0000)
src/misc/vlm.c

index b23e19a39732f9d274b258cd15c915ae696dd012..72779c8eddf44002fa0782d24a287ef6943914e0 100644 (file)
@@ -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;