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:
parent
12eb7a6f00
commit
46055080b6
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
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");
|
printf("ERROR: Bad arguments\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
s_do_log_info = 0;
|
||||||
stress_functions(mailbox);
|
stress_functions(mailbox);
|
||||||
|
s_do_log_info = 1;
|
||||||
|
|
||||||
printf("Delta Chat Core is awaiting your commands.\n");
|
printf("Delta Chat Core is awaiting your commands.\n");
|
||||||
s_do_log_info = 1;
|
|
||||||
|
|
||||||
/* wait for command */
|
/* wait for command */
|
||||||
while(1)
|
while(1)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue