mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed small problem.
This commit is contained in:
parent
36ac8e461e
commit
31f43799e1
@ -737,11 +737,11 @@ static void receive_crypto(Net_Crypto *c)
|
||||
crypto_kill(c, i);
|
||||
return;
|
||||
}
|
||||
} else if (id_packet(c->lossless_udp, c->crypto_connections[i].number) != -1)
|
||||
} else if (id_packet(c->lossless_udp, c->crypto_connections[i].number) != -1) {
|
||||
/* This should not happen, kill the connection if it does. */
|
||||
crypto_kill(c, i);
|
||||
|
||||
return;
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user