fixbug 应比较 handle 高 8 位 harbor id 是否与本地相等

This commit is contained in:
Yecheng Fu
2012-12-20 16:53:42 +08:00
parent 5d83155334
commit 0afea732d2

View File

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