summaryrefslogtreecommitdiff
path: root/toxcore/onion.c
diff options
context:
space:
mode:
authoryangfl <yangfl@users.noreply.github.com>2018-09-19 11:15:50 +0800
committeriphydf <iphydf@users.noreply.github.com>2018-09-19 18:16:13 +0000
commitd3d5b701cb940e5f6c7cb2af199428fc8224e665 (patch)
tree227460e1cde95443856ccbc5f0bcf082874bd41c /toxcore/onion.c
parent758bd9aa871666e1003691531f22f6dc515625bf (diff)
Fix typos
Diffstat (limited to 'toxcore/onion.c')
-rw-r--r--toxcore/onion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/onion.c b/toxcore/onion.c
index eceeb9f8..f1873992 100644
--- a/toxcore/onion.c
+++ b/toxcore/onion.c
@@ -114,7 +114,7 @@ static int ipport_unpack(IP_Port *target, const uint8_t *data, unsigned int data
114 * 114 *
115 * Create a new onion path out of nodes (nodes is a list of ONION_PATH_LENGTH nodes) 115 * Create a new onion path out of nodes (nodes is a list of ONION_PATH_LENGTH nodes)
116 * 116 *
117 * new_path must be an empty memory location of atleast Onion_Path size. 117 * new_path must be an empty memory location of at least Onion_Path size.
118 * 118 *
119 * return -1 on failure. 119 * return -1 on failure.
120 * return 0 on success. 120 * return 0 on success.