moonbridge

changeset 304:e18589f22314

Bugfix in moonbr_io_read_cont function which caused read chunks to be concatenated in wrong order
author jbe
date Thu Nov 16 00:36:55 2017 +0100 (21 months ago)
parents 477456cea361
children e4e1ad8d5ab8
files moonbridge_io.c
line diff
     1.1 --- a/moonbridge_io.c	Wed Nov 15 15:35:42 2017 +0100
     1.2 +++ b/moonbridge_io.c	Thu Nov 16 00:36:55 2017 +0100
     1.3 @@ -372,8 +372,8 @@
     1.4        lua_pushvalue(L, 5);
     1.5        lua_newtable(L);
     1.6        lua_replace(L, 5);
     1.7 +      lua_rawseti(L, 5, 1);
     1.8        lua_rawseti(L, 5, 2);
     1.9 -      lua_rawseti(L, 5, 1);
    1.10        ctx = 2;
    1.11      } else {
    1.12        lua_rawseti(L, 5, lua_rawlen(L, 5) + 1);

Impressum / About Us