summaryrefslogtreecommitdiff
path: root/toxcore/onion_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/onion_client.h')
-rw-r--r--toxcore/onion_client.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/onion_client.h b/toxcore/onion_client.h
index 4045cc0e..9c89afe5 100644
--- a/toxcore/onion_client.h
+++ b/toxcore/onion_client.h
@@ -172,9 +172,9 @@ int onion_getfriendip(Onion_Client *onion_c, int friend_num, IP_Port *ip_port);
172 172
173 173
174/* Send data of length length to friendnum. 174/* Send data of length length to friendnum.
175 * This data will be recieved by the friend using the Onion_Data_Handlers callbacks. 175 * This data will be received by the friend using the Onion_Data_Handlers callbacks.
176 * 176 *
177 * Even if this function succeeds, the friend might not recieve any data. 177 * Even if this function succeeds, the friend might not receive any data.
178 * 178 *
179 * return the number of packets sent on success 179 * return the number of packets sent on success
180 * return -1 on failure. 180 * return -1 on failure.