1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-05 02:29:28 +02:00

log info-messages on startup but for the stress-functions

This commit is contained in:
B. Petersen 2018-05-07 09:46:46 +02:00
parent 12eb7a6f00
commit 46055080b6

View file

@ -51,7 +51,7 @@ static char* read_cmd(void)
}
static int s_do_log_info = 0;
static int s_do_log_info = 1;
static uintptr_t receive_event(mrmailbox_t* mailbox, int event, uintptr_t data1, uintptr_t data2)
@ -142,10 +142,11 @@ int main(int argc, char ** argv)
printf("ERROR: Bad arguments\n");
}
s_do_log_info = 0;
stress_functions(mailbox);
s_do_log_info = 1;
printf("Delta Chat Core is awaiting your commands.\n");
s_do_log_info = 1;
/* wait for command */
while(1)