summaryrefslogtreecommitdiff
path: root/toxcore/net_crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/net_crypto.c')
-rw-r--r--toxcore/net_crypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/net_crypto.c b/toxcore/net_crypto.c
index 2851053b..f57886a8 100644
--- a/toxcore/net_crypto.c
+++ b/toxcore/net_crypto.c
@@ -2281,7 +2281,7 @@ unsigned int copy_connected_tcp_relays(Net_Crypto *c, Node_format *tcp_relays, u
2281static void do_tcp(Net_Crypto *c, void *userdata) 2281static void do_tcp(Net_Crypto *c, void *userdata)
2282{ 2282{
2283 pthread_mutex_lock(&c->tcp_mutex); 2283 pthread_mutex_lock(&c->tcp_mutex);
2284 do_tcp_connections(c->tcp_c, userdata); 2284 do_tcp_connections(c->log, c->tcp_c, userdata);
2285 pthread_mutex_unlock(&c->tcp_mutex); 2285 pthread_mutex_unlock(&c->tcp_mutex);
2286 2286
2287 uint32_t i; 2287 uint32_t i;