about summary refs log tree commit diff stats
path: root/stabbertests/proftest.c
diff options
context:
space:
mode:
Diffstat (limited to 'stabbertests/proftest.c')
-rw-r--r--stabbertests/proftest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stabbertests/proftest.c b/stabbertests/proftest.c
index 96c0cb69..d20e9f3a 100644
--- a/stabbertests/proftest.c
+++ b/stabbertests/proftest.c
@@ -36,10 +36,10 @@ char *config_orig;
 char *data_orig;
 
 void
-prof_process_xmpp(void)
+prof_process_xmpp(int loops)
 {
     int i = 0;
-    while (i < 20) {
+    while (i < loops) {
         jabber_process_events(10);
         i++;
     }
@@ -198,7 +198,7 @@ void
 close_prof_test(void **state)
 {
     jabber_disconnect();
-    prof_process_xmpp();
+    prof_process_xmpp(20);
     jabber_shutdown();
     roster_free();
     muc_close();