Loading src/common/log.c +1 −1 Original line number Diff line number Diff line Loading @@ -233,7 +233,7 @@ static void delete_log(logfile_t *victim) { logfiles = victim->next; else { for(tmpl = logfiles; tmpl && tmpl->next != victim; tmpl=tmpl->next) ; tor_assert(tmpl->next == victim); tor_assert(tmpl && tmpl->next == victim); tmpl->next = victim->next; } tor_free(victim->filename); Loading Loading
src/common/log.c +1 −1 Original line number Diff line number Diff line Loading @@ -233,7 +233,7 @@ static void delete_log(logfile_t *victim) { logfiles = victim->next; else { for(tmpl = logfiles; tmpl && tmpl->next != victim; tmpl=tmpl->next) ; tor_assert(tmpl->next == victim); tor_assert(tmpl && tmpl->next == victim); tmpl->next = victim->next; } tor_free(victim->filename); Loading