summaryrefslogtreecommitdiffhomepage
path: root/svr-runopts.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-runopts.c
parent2f62128297bc22c22f0da6617eeae53a1cd90dd2 (diff)
Moved usingsyslog from svr_runopts to runopts.
Diffstat (limited to 'svr-runopts.c')
-rw-r--r--svr-runopts.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/svr-runopts.c b/svr-runopts.c
index 0e70998..8f60059 100644
--- a/svr-runopts.c
+++ b/svr-runopts.c
@@ -158,7 +158,7 @@ void svr_getopts(int argc, char ** argv) {
svr_opts.domotd = 1;
#endif
#ifndef DISABLE_SYSLOG
- svr_opts.usingsyslog = 1;
+ opts.usingsyslog = 1;
#endif
opts.recv_window = DEFAULT_RECV_WINDOW;
opts.keepalive_secs = DEFAULT_KEEPALIVE;
@@ -189,7 +189,7 @@ void svr_getopts(int argc, char ** argv) {
break;
#ifndef DISABLE_SYSLOG
case 'E':
- svr_opts.usingsyslog = 0;
+ opts.usingsyslog = 0;
break;
#endif
#ifdef ENABLE_SVR_LOCALTCPFWD