Fix wrongly copied condition
This commit is contained in:
parent
e6d035909b
commit
ea9b2a28dd
1 changed files with 1 additions and 1 deletions
|
@ -622,7 +622,7 @@ void *Dispatcher(void *arg) {
|
||||||
cmd_send_message(SERVER_ID, sender_id, error_message);
|
cmd_send_message(SERVER_ID, sender_id, error_message);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if ((receiver_id < 0) || ((receiver_id == 0) && (endptr == token))) {
|
if (receiver_id < 0) {
|
||||||
fprintf(stderr, "Invalid receiver ID \"%s\"\n", token);
|
fprintf(stderr, "Invalid receiver ID \"%s\"\n", token);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue