summaryrefslogtreecommitdiff
path: root/net/ser/files/patch-daemonize.c
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2006-04-21 06:30:43 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2006-04-21 06:30:43 +0000
commitdfa121d9d966b38ff43f26fb1ce7a474f2e26cb5 (patch)
tree33a992c0c31ed5427e8c08d35b0c007099d52957 /net/ser/files/patch-daemonize.c
parentRequire perl from ports. (diff)
Merge in latest local changes and improvements:
o Allow radius and presence modules to be turned off; o don't override CFLAGS; o don't duplicate error messages to the console; o postgresql backend doesn't set NULL flag on results properly, so that don't use VAL_NULL() macros on them; o reconnect to MySQL db when necessary; o relax transaction matching rules, so that it works with wider range of phones; o add some missed sanity checks in usrloc; o ignore incoming UDP messages that are shorter than certain limin (128 bytes). They cannot be SIP messages anyway.
Notes
Notes: svn path=/head/; revision=160058
Diffstat (limited to 'net/ser/files/patch-daemonize.c')
-rw-r--r--net/ser/files/patch-daemonize.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/ser/files/patch-daemonize.c b/net/ser/files/patch-daemonize.c
new file mode 100644
index 000000000000..88cd832a0ecc
--- /dev/null
+++ b/net/ser/files/patch-daemonize.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- daemonize.c
++++ daemonize.c
+@@ -198,7 +198,7 @@
+ }
+
+ if (log_stderr==0)
+- openlog(name, LOG_PID|LOG_CONS, log_facility);
++ openlog(name, LOG_PID, log_facility);
+ /* LOG_CONS, LOG_PERRROR ? */
+
+ return 0;