mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-02-02 00:32:22 +00:00
Fix a logic error.
This commit is contained in:
parent
68e71eb93e
commit
e1d132083b
@ -960,7 +960,7 @@ int rpc_dispatch(rpc_connection_t *connection)
|
||||
rpc_message_init(&message, connection);
|
||||
|
||||
int32_t method, value, ret = RPC_MESSAGE_FAILURE;
|
||||
if (rpc_message_recv_int32(&message, &value) != RPC_ERROR_NO_ERROR &&
|
||||
if (rpc_message_recv_int32(&message, &value) != RPC_ERROR_NO_ERROR ||
|
||||
value != RPC_MESSAGE_START)
|
||||
return ret;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user