summaryrefslogtreecommitdiffhomepage
path: root/runopts.h
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 /runopts.h
parent2f62128297bc22c22f0da6617eeae53a1cd90dd2 (diff)
Moved usingsyslog from svr_runopts to runopts.
Diffstat (limited to 'runopts.h')
-rw-r--r--runopts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runopts.h b/runopts.h
index 92c105b..613ccf1 100644
--- a/runopts.h
+++ b/runopts.h
@@ -40,6 +40,7 @@ typedef struct runopts {
unsigned int recv_window;
time_t keepalive_secs; /* Time between sending keepalives. 0 is off */
time_t idle_timeout_secs; /* Exit if no traffic is sent/received in this time */
+ int usingsyslog;
#ifndef DISABLE_ZLIB
/* TODO: add a commandline flag. Currently this is on by default if compression
@@ -70,7 +71,6 @@ typedef struct svr_runopts {
char * bannerfile;
int forkbg;
- int usingsyslog;
/* ports and addresses are arrays of the portcount
listening ports. strings are malloced. */