aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rcfile_y.y3
1 files changed, 3 insertions, 0 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 4b25404b..f0010f56 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -441,7 +441,10 @@ struct query *init; /* pointer to block containing initial values */
if (init)
memcpy(node, init, sizeof(struct query));
else
+ {
memset(node, '\0', sizeof(struct query));
+ node->smtp_socket = -1;
+ }
/* append to end of list */
if (hosttail != (struct query *) 0)