Skip to content

Commit 22bf353

Browse files
author
tymon
committed
init pidfile as NULL in configuration init function
Signed-off-by: tymon <[email protected]>
1 parent a4a81e2 commit 22bf353

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/conf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ config_init(void)
193193
config.clienttimeout = DEFAULT_CLIENTTIMEOUT;
194194
config.checkinterval = DEFAULT_CHECKINTERVAL;
195195
config.daemon = -1;
196+
config.pidfile = NULL;
196197
config.wdctl_sock = safe_strdup(DEFAULT_WDCTL_SOCK);
197198
config.internal_sock = safe_strdup(DEFAULT_INTERNAL_SOCK);
198199
config.rulesets = NULL;

0 commit comments

Comments
 (0)