diff options
author | irungentoo <irungentoo@gmail.com> | 2014-03-22 18:29:09 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-03-22 18:29:09 -0400 |
commit | cb1c1d25ecdc6392ccdd5e09e2833e66e3ee931a (patch) | |
tree | a3b41777c54ca98bd5bfd8e7d647181f49024efa /toxcore/TCP_server.h | |
parent | 04001b2ec36f5492e441fb68f3ff74e1507c6f26 (diff) |
Some work on TCP server done.
Diffstat (limited to 'toxcore/TCP_server.h')
-rw-r--r-- | toxcore/TCP_server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/TCP_server.h b/toxcore/TCP_server.h index 504ffd77..3d2dfff7 100644 --- a/toxcore/TCP_server.h +++ b/toxcore/TCP_server.h | |||
@@ -60,7 +60,7 @@ typedef struct TCP_Secure_Connection { | |||
60 | uint8_t shared_key[crypto_box_BEFORENMBYTES]; | 60 | uint8_t shared_key[crypto_box_BEFORENMBYTES]; |
61 | uint16_t next_packet_length; | 61 | uint16_t next_packet_length; |
62 | struct { | 62 | struct { |
63 | struct TCP_Secure_Connection *connection; | 63 | uint32_t index; |
64 | uint8_t other_id; | 64 | uint8_t other_id; |
65 | } connections[NUM_CLIENT_CONNECTIONS]; | 65 | } connections[NUM_CLIENT_CONNECTIONS]; |
66 | } TCP_Secure_Connection; | 66 | } TCP_Secure_Connection; |