optimize skynet.error

This commit is contained in:
Cloud Wu
2016-05-06 20:10:11 +08:00
parent 6cc558bb82
commit a6299a0748
5 changed files with 47 additions and 36 deletions

View File

@@ -551,7 +551,7 @@ seri(lua_State *L, struct block *b, int len) {
}
int
_luaseri_unpack(lua_State *L) {
luaseri_unpack(lua_State *L) {
if (lua_isnoneornil(L,1)) {
return 0;
}
@@ -595,7 +595,7 @@ _luaseri_unpack(lua_State *L) {
}
int
_luaseri_pack(lua_State *L) {
luaseri_pack(lua_State *L) {
struct block temp;
temp.next = NULL;
struct write_block wb;