From 8f818b84234c3d902beb1b9106001584c6fac048 Mon Sep 17 00:00:00 2001 From: armatusmiles <akurotych@gmail.com> Date: Mon, 11 Mar 2019 15:04:11 +0200 Subject: [PATCH] [-] assign stdout to s_log_file if his not open --- core/dap_common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/core/dap_common.c b/core/dap_common.c index 5377316..99171d7 100644 --- a/core/dap_common.c +++ b/core/dap_common.c @@ -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; } } -- GitLab