This commit is contained in:
David Feng
2015-03-04 15:22:38 +08:00
parent a7d79831e6
commit 4718a12668
2 changed files with 4 additions and 4 deletions

View File

@@ -191,7 +191,7 @@ _send(lua_State *L) {
}
if (session < 0) {
// send to invalid address
// todo: maybe throw error whould be better
// todo: maybe throw an error would be better
return 0;
}
lua_pushinteger(L,session);

View File

@@ -22,7 +22,7 @@ local skynet = {
PTYPE_HARBOR = 5,
PTYPE_SOCKET = 6,
PTYPE_ERROR = 7,
PTYPE_QUEUE = 8, -- use in deprecated mqueue, use skynet.queue instead
PTYPE_QUEUE = 8, -- used in deprecated mqueue, use skynet.queue instead
PTYPE_DEBUG = 9,
PTYPE_LUA = 10,
PTYPE_SNAX = 11,