fflush(3) ack info too
This commit is contained in:
parent
c7a773958d
commit
fde0630217
|
@ -844,6 +844,10 @@ void handle_ack(const unsigned char source_mac[6], const unsigned char *data, si
|
||||||
err(1, "printf");
|
err(1, "printf");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (fflush(stdout) == EOF) {
|
||||||
|
err(1, "fflush");
|
||||||
|
}
|
||||||
|
|
||||||
if (own_message_send_state == WAITING_ACK && msgid == own_message_msgid) {
|
if (own_message_send_state == WAITING_ACK && msgid == own_message_msgid) {
|
||||||
own_message_send_state = IDLE;
|
own_message_send_state = IDLE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue