summaryrefslogtreecommitdiff
path: root/toxcore/TCP_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/TCP_server.c')
-rw-r--r--toxcore/TCP_server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/TCP_server.c b/toxcore/TCP_server.c
index 410111f4..7ad5ff7e 100644
--- a/toxcore/TCP_server.c
+++ b/toxcore/TCP_server.c
@@ -224,7 +224,7 @@ int read_TCP_packet(sock_t sock, uint8_t *data, uint16_t length)
224 return -1; 224 return -1;
225} 225}
226 226
227/* return length of recieved packet on success. 227/* return length of received packet on success.
228 * return 0 if could not read any packet. 228 * return 0 if could not read any packet.
229 * return -1 on failure (connection must be killed). 229 * return -1 on failure (connection must be killed).
230 */ 230 */