use skynet_error for log

This commit is contained in:
云风
2013-12-18 12:25:58 +08:00
parent bb20628ebe
commit 5ccb666a8b
5 changed files with 15 additions and 5 deletions

View File

@@ -34,7 +34,8 @@ skynet_harbor_register(struct remote_name *rname) {
int
skynet_harbor_message_isremote(uint32_t handle) {
return (handle & ~HANDLE_MASK) != HARBOR;
int h = (handle & ~HANDLE_MASK);
return h != HARBOR && h !=0;
}
void