diff options
Diffstat (limited to 'libs/luanet/src/base64.c')
-rw-r--r-- | libs/luanet/src/base64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/luanet/src/base64.c b/libs/luanet/src/base64.c index f897cf7aa..e0c3e7d0e 100644 --- a/libs/luanet/src/base64.c +++ b/libs/luanet/src/base64.c @@ -70,7 +70,7 @@ int b64_decode(lua_State *L) } if(!(dst - out)) return 0; - lua_pushstring(L, (char*)out); + lua_pushlstring(L, (char*)out, dst - out); return 1; } |