summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2009-05-28 20:02:31 -0700
committerPixel <pixel@nobis-crew.org>2009-05-28 20:02:31 -0700
commit1c012d1c72f44c65da9c43ca843b712a737900c3 (patch)
tree292b486b535b428eadbac1186f0bb65ef05acb90
parent93397ce09daf80f88726ec188671544a9b28e5c2 (diff)
Stupid typo...
-rw-r--r--lib/LuaHttp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/LuaHttp.cc b/lib/LuaHttp.cc
index b9ad988..645d303 100644
--- a/lib/LuaHttp.cc
+++ b/lib/LuaHttp.cc
@@ -326,7 +326,7 @@ int sLua_HttpResponse::HttpResponse_proceed_statics(Lua * L, int n, int caller)
Handle * out = lua_recast<Handle>(L, 2);
if (!out)
L->error("Need an output handle to Base64DecodeBin");
- enc_t = (char *) Base64::decode(L->tostring(), &l);
+ enc_t = (char *) Base64::decode(L->tostring(1), &l);
out->write(enc_t, l);
free(enc_t);
}