projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b767cf
)
libs/luanet: fix error in base64 decoder, patch from fonosfera
author
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 8 Jun 2009 20:20:12 +0000
(20:20 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Mon, 8 Jun 2009 20:20:12 +0000
(20:20 +0000)
libs/luanet/src/base64.c
patch
|
blob
|
history
diff --git
a/libs/luanet/src/base64.c
b/libs/luanet/src/base64.c
index f897cf7aa3f0c4f267d0653065c628cbbca878e4..e0c3e7d0e418ddee892a6e653b8a25a118a3cdc5 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;
}