[vlc-commits] vlm: fix error message / uninitialized variable
Rémi Denis-Courmont
git at videolan.org
Wed Apr 23 18:21:40 CEST 2014
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Apr 23 19:21:24 2014 +0300| [8a4edbb7929b5fc1e8b97b85c3771883f8d63b9d] | committer: Rémi Denis-Courmont
vlm: fix error message / uninitialized variable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8a4edbb7929b5fc1e8b97b85c3771883f8d63b9d
---
src/input/vlmshell.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/input/vlmshell.c b/src/input/vlmshell.c
index 33287ac..50a3859 100644
--- a/src/input/vlmshell.c
+++ b/src/input/vlmshell.c
@@ -854,8 +854,8 @@ int ExecuteCommand( vlm_t *p_vlm, const char *psz_command,
if( !psz_buf || !ppsz_command )
{
- p_message = vlm_MessageNew( ( ppsz_command ) ? ppsz_command[0] : NULL,
- "Memory allocation failed for command of length %zu",
+ p_message = vlm_MessageNew( "Memory error",
+ "allocation failed for command of length %zu",
i_command_len );
goto error;
}
More information about the vlc-commits
mailing list