diff options
author | irungentoo <irungentoo@gmail.com> | 2013-10-27 20:25:31 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2013-10-27 20:25:31 -0400 |
commit | d2ab13c61121fd14bbb2edc4406eaf807bbab3ec (patch) | |
tree | 7be227c6fe84da12de99bf00fd71866eadff01aa /toxcore/net_crypto.c | |
parent | 937dbd3a7ab00755096b69c106d5f7655e9752d9 (diff) |
Cleaned up some code/fixed some warnings.
I'm sure nobody has any of the old save files anymore so I removed the
functions.
Diffstat (limited to 'toxcore/net_crypto.c')
-rw-r--r-- | toxcore/net_crypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/net_crypto.c b/toxcore/net_crypto.c index 9b8eff96..3c7c114e 100644 --- a/toxcore/net_crypto.c +++ b/toxcore/net_crypto.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #endif | 29 | #endif |
30 | 30 | ||
31 | #include "net_crypto.h" | 31 | #include "net_crypto.h" |
32 | 32 | #include "util.h" | |
33 | static uint8_t crypt_connection_id_not_valid(Net_Crypto *c, int crypt_connection_id) | 33 | static uint8_t crypt_connection_id_not_valid(Net_Crypto *c, int crypt_connection_id) |
34 | { | 34 | { |
35 | return (uint32_t)crypt_connection_id >= c->crypto_connections_length; | 35 | return (uint32_t)crypt_connection_id >= c->crypto_connections_length; |