mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-22 02:53:09 +00:00
decode response nil
This commit is contained in:
@@ -451,7 +451,8 @@ ldecode(lua_State *L) {
|
||||
size_t sz;
|
||||
int r;
|
||||
if (st == NULL) {
|
||||
return luaL_argerror(L, 1, "Need a sproto_type object");
|
||||
// return nil
|
||||
return 0;
|
||||
}
|
||||
sz = 0;
|
||||
buffer = getbuffer(L, 2, &sz);
|
||||
|
||||
Reference in New Issue
Block a user