From 1c012d1c72f44c65da9c43ca843b712a737900c3 Mon Sep 17 00:00:00 2001 From: Pixel Date: Thu, 28 May 2009 20:02:31 -0700 Subject: Stupid typo... --- lib/LuaHttp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(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); } -- cgit v1.2.3