summaryrefslogtreecommitdiffhomepage
path: root/svr-main.c
diff options
context:
space:
mode:
authorKonstantin Tokarev <ktokarev@smartlabs.tv>2015-12-01 21:52:38 +0300
committerKonstantin Tokarev <ktokarev@smartlabs.tv>2015-12-15 16:43:29 +0300
commit2d6bbf341d0554fb33179dfe7757b6e22f993fe6 (patch)
tree6ec92058e22c58be81d4d169c9f9eaea54ceab65 /svr-main.c
parent2f62128297bc22c22f0da6617eeae53a1cd90dd2 (diff)
Moved usingsyslog from svr_runopts to runopts.
Diffstat (limited to 'svr-main.c')
-rw-r--r--svr-main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svr-main.c b/svr-main.c
index cc59332..8bd1a78 100644
--- a/svr-main.c
+++ b/svr-main.c
@@ -145,7 +145,7 @@ void main_noinetd() {
if (svr_opts.forkbg) {
int closefds = 0;
#ifndef DEBUG_TRACE
- if (!svr_opts.usingsyslog) {
+ if (!opts.usingsyslog) {
closefds = 1;
}
#endif
@@ -367,8 +367,8 @@ static void commonsetup() {
struct sigaction sa_chld;
#ifndef DISABLE_SYSLOG
- if (svr_opts.usingsyslog) {
startsyslog();
+ if (opts.usingsyslog) {
}
#endif