summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.h
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2016-09-01 00:38:58 +0100
committeriphydf <iphydf@users.noreply.github.com>2016-09-01 14:54:17 +0100
commit45d1f9acb9dbec6ea84a81b2cc0b7df276ee15a9 (patch)
tree01410fdcdb33837d671bdc199783140a77aed655 /toxcore/net_crypto.h
parent576f13061595dae46af025b4fce1a9b4ef95d37f (diff)
Match parameter names in declarations with their definitions.
The parameter names were taken from function definitions to update the names in function declarations (prototypes).
Diffstat (limited to 'toxcore/net_crypto.h')
-rw-r--r--toxcore/net_crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/net_crypto.h b/toxcore/net_crypto.h
index ce78e72f..9be71020 100644
--- a/toxcore/net_crypto.h
+++ b/toxcore/net_crypto.h
@@ -367,7 +367,7 @@ int get_random_tcp_con_number(Net_Crypto *c);
367 * return 0 on success. 367 * return 0 on success.
368 * return -1 on failure. 368 * return -1 on failure.
369 */ 369 */
370int send_tcp_onion_request(Net_Crypto *c, unsigned int TCP_conn_number, const uint8_t *data, uint16_t length); 370int send_tcp_onion_request(Net_Crypto *c, unsigned int tcp_connections_number, const uint8_t *data, uint16_t length);
371 371
372/* Copy a maximum of num TCP relays we are connected to to tcp_relays. 372/* Copy a maximum of num TCP relays we are connected to to tcp_relays.
373 * NOTE that the family of the copied ip ports will be set to TCP_INET or TCP_INET6. 373 * NOTE that the family of the copied ip ports will be set to TCP_INET or TCP_INET6.