summaryrefslogtreecommitdiff
path: root/toxcore/onion_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/onion_client.c')
-rw-r--r--toxcore/onion_client.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c
index 329b1d13..c9f60b2b 100644
--- a/toxcore/onion_client.c
+++ b/toxcore/onion_client.c
@@ -513,9 +513,9 @@ static int handle_fakeid_announce(void *object, uint8_t *source_pubkey, uint8_t
513 return 0; 513 return 0;
514} 514}
515/* Send data of length length to friendnum. 515/* Send data of length length to friendnum.
516 * This data will be recieved by the friend using the Onion_Data_Handlers callbacks. 516 * This data will be received by the friend using the Onion_Data_Handlers callbacks.
517 * 517 *
518 * Even if this function succeeds, the friend might not recieve any data. 518 * Even if this function succeeds, the friend might not receive any data.
519 * 519 *
520 * return the number of packets sent on success 520 * return the number of packets sent on success
521 * return -1 on failure. 521 * return -1 on failure.
@@ -578,7 +578,7 @@ int send_onion_data(Onion_Client *onion_c, int friend_num, uint8_t *data, uint32
578 578
579/* Try to send the fakeid via the DHT instead of onion 579/* Try to send the fakeid via the DHT instead of onion
580 * 580 *
581 * Even if this function succeeds, the friend might not recieve any data. 581 * Even if this function succeeds, the friend might not receive any data.
582 * 582 *
583 * return the number of packets sent on success 583 * return the number of packets sent on success
584 * return -1 on failure. 584 * return -1 on failure.