projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libs/luanet: fix error in base64 decoder, patch from fonosfera
[project/luci.git]
/
libs
/
luanet
/
src
/
base64.c
diff --git
a/libs/luanet/src/base64.c
b/libs/luanet/src/base64.c
index
f897cf7
..
e0c3e7d
100644
(file)
--- 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_push
string(L, (char*)
out);
+ lua_push
lstring(L, (char*)out, dst -
out);
return 1;
}