Skip to content
Snippets Groups Projects
Commit 8f818b84 authored by armatusmiles's avatar armatusmiles
Browse files

[-] assign stdout to s_log_file if his not open

parent 581d2804
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,6 @@ int dap_common_init(const char * a_log_file)
s_log_file = fopen(a_log_file , "a");
if(s_log_file == NULL) {
fprintf(stderr,"Can't open log file %s to append\n", a_log_file);
s_log_file=stdout;
return -1;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment