mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-18 19:31:02 +00:00
Fixed lsp_sock_send(), return value
This commit is contained in:
1 parent
af7efd980c
commit
fe087cdce9
1 file changed
+1
-1
+1
-1
@@ -5377,7 +5377,7 @@ static int lsp_sock_send(lua_State *L) {
|
|||||||
}
|
}
|
||||||
sent += n;
|
sent += n;
|
||||||
}
|
}
|
||||||
lua_pushnumber(L, n);
|
lua_pushnumber(L, sent);
|
||||||
} else {
|
} else {
|
||||||
return luaL_error(L, "invalid :close() call");
|
return luaL_error(L, "invalid :close() call");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user