]> git.sesse.net Git - vlc/commit
Fix the interpretation of command "help" by VLM.
authorAdrien Grand <jpountz@jpountz.net>
Sun, 27 Apr 2008 13:17:03 +0000 (15:17 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Tue, 29 Apr 2008 12:42:35 +0000 (14:42 +0200)
commitb942bf2b1bf1f9ca9b9ca951937ab947d42b376a
tree7ec45b846eb8d3a440c81a36132075b4b679b6fd
parent58b761765754e7e27c3d3846b35458a56a18cecc
Fix the interpretation of command "help" by VLM.

In the function ExecuteCommand, p_message is given in argument to ExecuteHelp
and is then modified locally in ExecuteHelp:
  p_message = vlm_MessageNew( "help", vlm_NULL );
whereas it is used further in function ExecuteCommand.
This patch fixes this problem by passing the pointer address in argument to
ExecuteHelp instead of the pointer itself.

Signed-off-by: Pierre d'Herbemont <pdherbemont@videolan.org>
src/input/vlm.c