lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

Fix for buffer.c, buf_meth_receive():

-     } else err = recvraw(buf, (size_t) lua_tonumber(L, 2), &b);
+     } else err = recvraw(buf, (size_t) lua_tonumber(L, 2) - size, &b);

I wouldn't call this a bug, but it has been changed for the next version
already.

[]s,
Diego.