summaryrefslogtreecommitdiff
path: root/toxcore/TCP_server.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/TCP_server.h')
-rw-r--r--toxcore/TCP_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/TCP_server.h b/toxcore/TCP_server.h
index 498b1147..5046b8eb 100644
--- a/toxcore/TCP_server.h
+++ b/toxcore/TCP_server.h
@@ -140,7 +140,7 @@ uint16_t read_TCP_length(sock_t sock);
140 */ 140 */
141int read_TCP_packet(sock_t sock, uint8_t *data, uint16_t length); 141int read_TCP_packet(sock_t sock, uint8_t *data, uint16_t length);
142 142
143/* return length of recieved packet on success. 143/* return length of received packet on success.
144 * return 0 if could not read any packet. 144 * return 0 if could not read any packet.
145 * return -1 on failure (connection must be killed). 145 * return -1 on failure (connection must be killed).
146 */ 146 */