summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/Messenger_test.c2
-rw-r--r--testing/irc_syncbot.c2
-rw-r--r--testing/nTox.c4
-rw-r--r--testing/tox_shell.c2
-rw-r--r--testing/tox_sync.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/testing/Messenger_test.c b/testing/Messenger_test.c
index 22e16c38..0c439a05 100644
--- a/testing/Messenger_test.c
+++ b/testing/Messenger_test.c
@@ -186,7 +186,7 @@ int main(int argc, char *argv[])
186 printf("%s\n", name); 186 printf("%s\n", name);
187 187
188 m_send_message_generic(m, num, MESSAGE_NORMAL, (uint8_t *)"Test", 5, 0); 188 m_send_message_generic(m, num, MESSAGE_NORMAL, (uint8_t *)"Test", 5, 0);
189 do_messenger(m); 189 do_messenger(m, NULL);
190 c_sleep(30); 190 c_sleep(30);
191 FILE *file = fopen("Save.bak", "wb"); 191 FILE *file = fopen("Save.bak", "wb");
192 192
diff --git a/testing/irc_syncbot.c b/testing/irc_syncbot.c
index a4e2254a..f8d29bfc 100644
--- a/testing/irc_syncbot.c
+++ b/testing/irc_syncbot.c
@@ -349,7 +349,7 @@ int main(int argc, char *argv[])
349 } 349 }
350 } 350 }
351 351
352 tox_iterate(tox); 352 tox_iterate(tox, NULL);
353 usleep(1000 * 50); 353 usleep(1000 * 50);
354 } 354 }
355 355
diff --git a/testing/nTox.c b/testing/nTox.c
index 03f17da5..bbc48831 100644
--- a/testing/nTox.c
+++ b/testing/nTox.c
@@ -389,7 +389,7 @@ void line_eval(Tox *m, char *line)
389 389
390 new_lines(numstring); 390 new_lines(numstring);
391 } else if (inpt_command == 'd') { 391 } else if (inpt_command == 'd') {
392 tox_iterate(m); 392 tox_iterate(m, NULL);
393 } else if (inpt_command == 'm') { //message command: /m friendnumber messsage 393 } else if (inpt_command == 'm') { //message command: /m friendnumber messsage
394 char *posi[1]; 394 char *posi[1];
395 int num = strtoul(line + prompt_offset, posi, 0); 395 int num = strtoul(line + prompt_offset, posi, 0);
@@ -1354,7 +1354,7 @@ int main(int argc, char *argv[])
1354 } 1354 }
1355 } 1355 }
1356 1356
1357 tox_iterate(m); 1357 tox_iterate(m, NULL);
1358 do_refresh(); 1358 do_refresh();
1359 1359
1360 int c = timeout_getch(m); 1360 int c = timeout_getch(m);
diff --git a/testing/tox_shell.c b/testing/tox_shell.c
index 0292222b..bda147b3 100644
--- a/testing/tox_shell.c
+++ b/testing/tox_shell.c
@@ -152,7 +152,7 @@ int main(int argc, char *argv[])
152 tox_friend_send_message(tox, num, TOX_MESSAGE_TYPE_NORMAL, buf, ret, 0); 152 tox_friend_send_message(tox, num, TOX_MESSAGE_TYPE_NORMAL, buf, ret, 0);
153 } 153 }
154 154
155 tox_iterate(tox); 155 tox_iterate(tox, NULL);
156 c_sleep(1); 156 c_sleep(1);
157 } 157 }
158 158
diff --git a/testing/tox_sync.c b/testing/tox_sync.c
index 738c2f2d..a90e343e 100644
--- a/testing/tox_sync.c
+++ b/testing/tox_sync.c
@@ -320,7 +320,7 @@ int main(int argc, char *argv[])
320 } 320 }
321 } 321 }
322 322
323 tox_iterate(tox); 323 tox_iterate(tox, NULL);
324 c_sleep(1); 324 c_sleep(1);
325 } 325 }
326 326