Hopefully fix #1910 'When I use the command "mrl playlist_add vlc_play", "playlist_ad...
authorAntoine Cellerier <dionoea@videolan.org>
Sun, 24 Aug 2008 20:34:10 +0000 (22:34 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Sun, 24 Aug 2008 20:35:33 +0000 (22:35 +0200)
commit08f5b0d05dc0f522c548652ef04bd12a4438cbc9
treed424e3f6f4aaccb46386a9fcc69ba576c12dbd40
parente30dd13c549e88591a22c9654635c2400ea84bb9
Hopefully fix #1910 'When I use the command "mrl playlist_add vlc_play", "playlist_add" used to return the index of the item added to the playlist wheras in the last nightly build, "playlist_add" just add 0 to the stack. Thus, "vlc_play" just play the first element of the playlist in spite of playing the desired file.' ... and fix an unrelated compilation warning which ended up being a bit more complex to fix than I though.
modules/control/http/http.h
modules/control/http/macro.c
modules/control/http/mvar.c
modules/control/http/rpn.c
modules/control/http/util.c