opnsense-ports/comms/bforce-kst/files/patch-bforce.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

26 lines
797 B
C

--- bforce/bforce.c Thu Nov 21 23:22:55 2002
+++ bforce/bforce.c Sat Apr 3 21:47:04 2004
@@ -414,12 +419,12 @@
}
}
- if( (rc = log_open(log_getfilename(LOG_FILE_SESSION), NULL, NULL)) )
+/* if( (rc = log_open(log_getfilename(LOG_FILE_SESSION), NULL, NULL)) )
{
log("can't continue without logging");
gotoexit(BFERR_FATALERROR);
}
-
+*/
/* Process primary config file */
if( opts.confname && *opts.confname )
rc = conf_readconf(opts.confname, 0);
@@ -433,7 +438,7 @@
(void)conf_readconf(opts.incname, 1);
/* Reopen log file if it was defined in config */
- if( log_reopen(log_getfilename(LOG_FILE_SESSION), NULL, NULL) )
+ if( log_open(log_getfilename(LOG_FILE_SESSION), NULL, NULL) )
{
log("can't continue without logging");
gotoexit(BFERR_FATALERROR);