Skip to content
Snippets Groups Projects
Commit be29e8a3 authored by ucart's avatar ucart
Browse files

truncation of new log files

parent 22285e45
No related branches found
No related tags found
No related merge requests found
...@@ -854,7 +854,7 @@ static void quad_recv() { ...@@ -854,7 +854,7 @@ static void quad_recv() {
char log_file[256]; char log_file[256];
create_log_name(log_file, 256); create_log_name(log_file, 256);
printf("New log file created: '%s'\n", log_file); printf("New log file created: '%s'\n", log_file);
quadlog_file = fopen(log_file, "a"); quadlog_file = fopen(log_file, "w");
quadlog_file_open = 1; quadlog_file_open = 1;
} }
if (!receiving_logs) { if (!receiving_logs) {
......
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