diff options
-rw-r--r-- | toxcore/Lossless_UDP.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/Lossless_UDP.c b/toxcore/Lossless_UDP.c index 94e94122..e976370f 100644 --- a/toxcore/Lossless_UDP.c +++ b/toxcore/Lossless_UDP.c | |||
@@ -674,7 +674,7 @@ static int handle_SYNC3(Lossless_UDP *ludp, int connection_id, uint8_t counter, | |||
674 | /* Packet valid. */ | 674 | /* Packet valid. */ |
675 | if (comp_1 <= BUFFER_PACKET_NUM && | 675 | if (comp_1 <= BUFFER_PACKET_NUM && |
676 | comp_2 <= BUFFER_PACKET_NUM && | 676 | comp_2 <= BUFFER_PACKET_NUM && |
677 | comp_counter < 10 && comp_counter != 0) { | 677 | comp_counter == 1) { |
678 | connection->orecv_packetnum = recv_packetnum; | 678 | connection->orecv_packetnum = recv_packetnum; |
679 | connection->osent_packetnum = sent_packetnum; | 679 | connection->osent_packetnum = sent_packetnum; |
680 | connection->successful_sent = recv_packetnum; | 680 | connection->successful_sent = recv_packetnum; |