freebsd-ports/comms/bforce-kst/files/patch-bforce.c
Pav Lucistnik a76fdec1c5 - Update to 0.22.8.7
PR:		ports/67367
Submitted by:	Andrey Slusar <vasallia@ukr.net>
2004-05-30 10:31:21 +00: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);