diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-12-15 21:55:51 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-12-15 21:55:51 +0800 |
commit | 3d33e65a3546193e05eb469d7c5a9b2b0931420d (patch) | |
tree | 8bca45fed4c974af5237f824850798a3d0d4fc1e /svr-runopts.c | |
parent | 2f62128297bc22c22f0da6617eeae53a1cd90dd2 (diff) | |
parent | 5ab562f69531a2d5438d22c0918003894e6cec0d (diff) |
Merge pull request #18 from annulen/dbclient_syslog
Support syslog logging in dbclient.
Diffstat (limited to 'svr-runopts.c')
-rw-r--r-- | svr-runopts.c | 4 |
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 |