aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 6bec2e54..cd421f47 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -436,6 +436,8 @@ struct query *init; /* pointer to block containing initial values */
/* initialize it */
if (init)
memcpy(node, init, sizeof(struct query));
+ else
+ memset(node, '\0', sizeof(struct query));
/* append to end of list */
if (hosttail != (struct query *) 0)