mirror of
https://github.com/cloudwu/skynet.git
synced 2026-07-25 12:43:09 +00:00
fixbug 应比较 handle 高 8 位 harbor id 是否与本地相等
This commit is contained in:
@@ -34,7 +34,7 @@ skynet_harbor_register(struct remote_name *rname) {
|
|||||||
|
|
||||||
int
|
int
|
||||||
skynet_harbor_message_isremote(uint32_t handle) {
|
skynet_harbor_message_isremote(uint32_t handle) {
|
||||||
return !(handle & HARBOR);
|
return (handle & ~HANDLE_MASK) != HARBOR;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user