summaryrefslogtreecommitdiff
path: root/toxcore/TCP_server.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-05-08 18:26:01 -0400
committerirungentoo <irungentoo@gmail.com>2014-05-08 18:26:01 -0400
commita26ced5fcb7a9a8bf6b4795c95b04277c14b84f2 (patch)
tree8a659c2dc15414ff227cf43c793f20ee2a91cbe1 /toxcore/TCP_server.h
parent98f20c76de801d042c695b3034056b2cfbfeaab5 (diff)
parent89022326d3742defd9c7b1111ddcda53688d85be (diff)
Merge branch 'master' into TCP
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 26cfa493..2a6b8276 100644
--- a/toxcore/TCP_server.h
+++ b/toxcore/TCP_server.h
@@ -138,7 +138,7 @@ uint16_t read_TCP_length(sock_t sock);
138 */ 138 */
139int read_TCP_packet(sock_t sock, uint8_t *data, uint16_t length); 139int read_TCP_packet(sock_t sock, uint8_t *data, uint16_t length);
140 140
141/* return length of recieved packet on success. 141/* return length of received packet on success.
142 * return 0 if could not read any packet. 142 * return 0 if could not read any packet.
143 * return -1 on failure (connection must be killed). 143 * return -1 on failure (connection must be killed).
144 */ 144 */