Loading src/common/log.c +2 −1 Changes for src/common/log.c: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -1305,7 +1305,8 @@ switch_logs_debug(void) void truncate_logs(void) { for (logfile_t *lf = logfiles; lf; lf = lf->next) { logfile_t *lf; for (lf = logfiles; lf; lf = lf->next) { if (lf->fd >= 0) { tor_ftruncate(lf->fd); } Loading Loading
src/common/log.c +2 −1 Changes for src/common/log.c: 2 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -1305,7 +1305,8 @@ switch_logs_debug(void) void truncate_logs(void) { for (logfile_t *lf = logfiles; lf; lf = lf->next) { logfile_t *lf; for (lf = logfiles; lf; lf = lf->next) { if (lf->fd >= 0) { tor_ftruncate(lf->fd); } Loading