From: RĂ©mi Duraffort Date: Sat, 3 Apr 2010 17:09:40 +0000 (+0200) Subject: Lua: fix #3492, and commas around the name and longname. X-Git-Tag: 1.1.0-pre1~132 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d77b62ee22e0cd9c552258bb3997b42ecedc74d4;p=vlc Lua: fix #3492, and commas around the name and longname. --- diff --git a/modules/misc/lua/vlc.c b/modules/misc/lua/vlc.c index c68de7222c..de9f883aaf 100644 --- a/modules/misc/lua/vlc.c +++ b/modules/misc/lua/vlc.c @@ -665,7 +665,7 @@ static int vlc_sd_probe_Open( vlc_object_t *obj ) goto error; } } - if( asprintf( &psz_name, "lua{sd=%s,longname=%s}", + if( asprintf( &psz_name, "lua{sd='%s',longname='%s'}", *ppsz_file, psz_longname ) < 0 ) { free( psz_filename );