Browse Source

close syslog in function closeTraceFile

pull/319/head
switch_st 4 years ago
parent
commit
a149fa9404
  1. 6
      src/n2n.c

6
src/n2n.c

@ -86,6 +86,12 @@ void closeTraceFile() {
if (traceFile != NULL && traceFile != stdout) {
fclose(traceFile);
}
#ifndef WIN32
if (useSyslog && syslog_opened) {
closelog();
syslog_opened = 0;
}
#endif
}
#define N2N_TRACE_DATESIZE 32

Loading…
Cancel
Save