l_setfield_s: Take length parameter
commitaf4cc6cad1306b19ece3631ffaa8367999a8ac47
authorToni Gundogdu <legatvs@gmail.com>
Thu, 31 Jan 2013 08:53:11 +0000 (31 10:53 +0200)
committerToni Gundogdu <legatvs@gmail.com>
Thu, 31 Jan 2013 08:53:11 +0000 (31 10:53 +0200)
tree792f4f5dfa3241c8da278040a40875b6c11cfd9e
parent6d1686159210b34f3ac7629d0e39a469d690872c
l_setfield_s: Take length parameter

If the length parameter value is >0, then lua_pushlstring. This
makes it possible to push strings that contain embedded zeros.

Signed-off-by: Toni Gundogdu <legatvs@gmail.com>
15 files changed:
src/lua/exec_media_script_ident.c
src/lua/exec_media_script_parse.c
src/lua/exec_playlist_script_ident.c
src/lua/exec_playlist_script_parse.c
src/lua/exec_scan_script_parse.c
src/lua/exec_subtitle_export_script_export.c
src/lua/exec_subtitle_export_script_ident.c
src/lua/exec_subtitle_script_ident.c
src/lua/exec_subtitle_script_parse.c
src/lua/quvi/http/fetch.c
src/lua/quvi/http/metainfo.c
src/lua/quvi/http/resolve.c
src/lua/setfield.c
src/lua/setfield.h
src/lua/util/exec_util_resolve_redirections.c