moonbridge
changeset 141:845e3dce3774
Fixed wrong treatment of Lua string buffer in drain mode
author | jbe |
---|---|
date | Fri May 01 04:05:31 2015 +0200 (2015-05-01) |
parents | 9ca22af4d4b1 |
children | 8cd9acda3853 |
files | moonbridge_io.c |
line diff
1.1 --- a/moonbridge_io.c Fri May 01 01:46:07 2015 +0200 1.2 +++ b/moonbridge_io.c Fri May 01 04:05:31 2015 +0200 1.3 @@ -204,8 +204,6 @@ 1.4 ); 1.5 luaL_pushresult(&luabuf); 1.6 } else { 1.7 - luaL_pushresult(&luabuf); 1.8 - lua_pop(L, 1); 1.9 lua_pushinteger(L, luabufcnt + remaining); 1.10 } 1.11 handle->readbufout += remaining;