Commit fe4700e0 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

fixed closing logfiles which are not stderr

parent 0d844063
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -64,7 +64,7 @@ _print_ns(res_state res)
	}
	fprintf(log, "\n");

	if (strcmp("-", logfile) == 1)
	if ( log != stderr )
		fclose(log);
}
#else