diff options
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/net_crypto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/net_crypto.c b/toxcore/net_crypto.c index 92727a8c..8c179eb3 100644 --- a/toxcore/net_crypto.c +++ b/toxcore/net_crypto.c | |||
@@ -737,11 +737,11 @@ static void receive_crypto(Net_Crypto *c) | |||
737 | crypto_kill(c, i); | 737 | crypto_kill(c, i); |
738 | return; | 738 | return; |
739 | } | 739 | } |
740 | } else if (id_packet(c->lossless_udp, c->crypto_connections[i].number) != -1) | 740 | } else if (id_packet(c->lossless_udp, c->crypto_connections[i].number) != -1) { |
741 | /* This should not happen, kill the connection if it does. */ | 741 | /* This should not happen, kill the connection if it does. */ |
742 | crypto_kill(c, i); | 742 | crypto_kill(c, i); |
743 | 743 | return; | |
744 | return; | 744 | } |
745 | } | 745 | } |
746 | } | 746 | } |
747 | } | 747 | } |