mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-08 16:11:18 +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;
|
||||
}
|
||||
lua_pushnumber(L, n);
|
||||
lua_pushnumber(L, sent);
|
||||
} else {
|
||||
return luaL_error(L, "invalid :close() call");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user