Fixed lsp_sock_send(), return value

This commit is contained in:
Sergey Lyubka
2013-12-07 17:45:34 +00:00
parent af7efd980c
commit fe087cdce9
+1 -1
View File
@@ -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");
}