summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/Messenger.c')
-rw-r--r--toxcore/Messenger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c
index 1a5c93aa..7fdae8f0 100644
--- a/toxcore/Messenger.c
+++ b/toxcore/Messenger.c
@@ -1738,7 +1738,7 @@ static void LANdiscovery(Messenger *m)
1738 } 1738 }
1739} 1739}
1740 1740
1741int handle_new_connections(void *object, New_Connection *n_c) 1741static int handle_new_connections(void *object, New_Connection *n_c)
1742{ 1742{
1743 Messenger *m = object; 1743 Messenger *m = object;
1744 int friend_id = getfriend_id(m, n_c->public_key); 1744 int friend_id = getfriend_id(m, n_c->public_key);