summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/omfile.c2
-rw-r--r--tools/syslogd.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/omfile.c b/tools/omfile.c
index 9d6b3d1d..4c06f304 100644
--- a/tools/omfile.c
+++ b/tools/omfile.c
@@ -98,7 +98,7 @@ static uid_t fileUID; /* UID to be used for newly created files */
static uid_t fileGID; /* GID to be used for newly created files */
static uid_t dirUID; /* UID to be used for newly created directories */
static uid_t dirGID; /* GID to be used for newly created directories */
-static int bCreateDirs; /* auto-create directories for dynaFiles: 0 - no, 1 - yes */
+static int bCreateDirs = 1;/* auto-create directories for dynaFiles: 0 - no, 1 - yes */
static int bEnableSync = 0;/* enable syncing of files (no dash in front of pathname in conf): 0 - no, 1 - yes */
static int iZipLevel = 0; /* zip compression mode (0..9 as usual) */
static bool bFlushOnTXEnd = 1;/* flush write buffers when transaction has ended? */
diff --git a/tools/syslogd.c b/tools/syslogd.c
index 7d00d244..042f76ec 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -3372,10 +3372,10 @@ int realMain(int argc, char **argv)
fprintf(stderr, "error -p is no longer supported, use module imuxsock instead");
}
case 'q': /* add hostname if DNS resolving has failed */
- net.pACLAddHostnameOnFail = 1;
+ *(net.pACLAddHostnameOnFail) = 1;
break;
case 'Q': /* dont resolve hostnames in ACL to IPs */
- net.pACLDontResolve = 1;
+ *(net.pACLDontResolve) = 1;
break;
case 'r': /* accept remote messages */
if(iCompatibilityMode < 3) {