aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-05-22 17:25:00 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-05-22 17:25:00 +0000
commit36bc0ab5bf2bfd56fb7e25dfbae194703b60304e (patch)
treef4a6706527b9b0d85f7600c9801f6dc865b57a90 /rcfile_y.y
parent457c1fe4e4f1f233a590cf38b779ca0fdcc6b18d (diff)
downloadfetchmail-36bc0ab5bf2bfd56fb7e25dfbae194703b60304e.tar.gz
fetchmail-36bc0ab5bf2bfd56fb7e25dfbae194703b60304e.tar.bz2
fetchmail-36bc0ab5bf2bfd56fb7e25dfbae194703b60304e.zip
Various bug fixes.
svn path=/trunk/; revision=1792
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)