summaryrefslogtreecommitdiff
path: root/testing/nTox.c
diff options
context:
space:
mode:
Diffstat (limited to 'testing/nTox.c')
-rw-r--r--testing/nTox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/nTox.c b/testing/nTox.c
index 9e114ba5..a6ee9dde 100644
--- a/testing/nTox.c
+++ b/testing/nTox.c
@@ -1313,7 +1313,7 @@ int main(int argc, char *argv[])
1313 1313
1314 while (1) { 1314 while (1) {
1315 if (on == 0) { 1315 if (on == 0) {
1316 if (tox_get_connection_status(m)) { 1316 if (tox_self_get_connection_status(m)) {
1317 new_lines("[i] connected to DHT"); 1317 new_lines("[i] connected to DHT");
1318 on = 1; 1318 on = 1;
1319 } else { 1319 } else {