diff options
author | SmallJoker <SmallJoker@users.noreply.github.com> | 2019-06-06 19:13:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-06 19:13:29 +0200 |
commit | cb00632e23a41d8d171631de9d85e168b251b80e (patch) | |
tree | 684787f3056df0d5ab7b0e1cb504c2b6866ae334 /src/script/common/c_converter.h | |
parent | 7379aa74cf98c7e4c7aa5325ef1531d412a0abac (diff) | |
download | minetest-cb00632e23a41d8d171631de9d85e168b251b80e.tar.gz minetest-cb00632e23a41d8d171631de9d85e168b251b80e.tar.bz2 minetest-cb00632e23a41d8d171631de9d85e168b251b80e.zip |
HTTP API: Allow binary downloads and headers (#8573)
Add minetest.features.httpfetch_binary_data
Diffstat (limited to 'src/script/common/c_converter.h')
-rw-r--r-- | src/script/common/c_converter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/common/c_converter.h b/src/script/common/c_converter.h index 87bc35ac6..f84494c8d 100644 --- a/src/script/common/c_converter.h +++ b/src/script/common/c_converter.h @@ -91,7 +91,7 @@ std::string checkstringfield(lua_State *L, int table, const char *fieldname); void setstringfield(lua_State *L, int table, - const char *fieldname, const char *value); + const char *fieldname, const std::string &value); void setintfield(lua_State *L, int table, const char *fieldname, int value); void setfloatfield(lua_State *L, int table, |