summaryrefslogtreecommitdiff
path: root/net/siproxd/files/patch-src__siproxd.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-12-13 00:02:46 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-12-13 00:02:46 +0000
commit4b695e507f44797ffecfb964eaf8351e16d42af5 (patch)
treea976586019310e748e958e2e4ae9ccbc724ea012 /net/siproxd/files/patch-src__siproxd.c
parentUpdate to 1.0.4.0 (diff)
- Update to 0.6.0
PR: 118040 Submitted by: Frank W. Josellis <frank@dynamical-systems.org> (maintainer)
Notes
Notes: svn path=/head/; revision=203420
Diffstat (limited to 'net/siproxd/files/patch-src__siproxd.c')
-rw-r--r--net/siproxd/files/patch-src__siproxd.c21
1 files changed, 6 insertions, 15 deletions
diff --git a/net/siproxd/files/patch-src__siproxd.c b/net/siproxd/files/patch-src__siproxd.c
index 4c07b92b9631..02163c9bb855 100644
--- a/net/siproxd/files/patch-src__siproxd.c
+++ b/net/siproxd/files/patch-src__siproxd.c
@@ -1,6 +1,6 @@
---- src/siproxd.c.orig Sun Jun 18 18:28:20 2006
-+++ src/siproxd.c Wed Jun 21 09:06:10 2006
-@@ -177,11 +177,16 @@
+--- src/siproxd.c.orig Fri Jun 8 21:41:47 2007
++++ src/siproxd.c Wed Nov 14 12:26:19 2007
+@@ -181,10 +181,15 @@
/*
* Init stuff
*/
@@ -8,22 +8,13 @@
-
/* read the config file */
if (read_config(configfile, config_search) == STS_FAILURE) exit(1);
-
++
+ /* Don't log to stderr if daemonizing is intended. */
+ if (configuration.daemonize) {
-+ log_set_stderr(0);
++ log_set_stderr(0);
+ }
+
+ INFO(PACKAGE"-"VERSION"-"BUILDSTR" "UNAME" starting up");
-+
+
/* if a debug level > 0 has been given on the commandline use its
value and not what is in the config file */
- if (cmdline_debuglevel != 0) {
-@@ -212,7 +217,6 @@
- setsid();
- if (fork()!=0) exit(0);
-
-- log_set_stderr(0);
- INFO("daemonized, pid=%i", getpid());
- }
-