diff options
Diffstat (limited to 'auto_tests/helpers.h')
-rw-r--r-- | auto_tests/helpers.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/auto_tests/helpers.h b/auto_tests/helpers.h index de106340..72f57ead 100644 --- a/auto_tests/helpers.h +++ b/auto_tests/helpers.h | |||
@@ -17,6 +17,8 @@ | |||
17 | #define c_sleep(x) usleep(1000 * (x)) | 17 | #define c_sleep(x) usleep(1000 * (x)) |
18 | #endif | 18 | #endif |
19 | 19 | ||
20 | #define ITERATION_INTERVAL 200 | ||
21 | |||
20 | static const char *tox_log_level_name(TOX_LOG_LEVEL level) | 22 | static const char *tox_log_level_name(TOX_LOG_LEVEL level) |
21 | { | 23 | { |
22 | switch (level) { | 24 | switch (level) { |
@@ -58,6 +60,7 @@ Tox *tox_new_log(struct Tox_Options *options, TOX_ERR_NEW *err, void *log_user_d | |||
58 | 60 | ||
59 | if (log_options == nullptr) { | 61 | if (log_options == nullptr) { |
60 | log_options = tox_options_new(nullptr); | 62 | log_options = tox_options_new(nullptr); |
63 | // tox_options_set_local_discovery_enabled(log_options, false); | ||
61 | } | 64 | } |
62 | 65 | ||
63 | assert(log_options != nullptr); | 66 | assert(log_options != nullptr); |