aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-05-28 13:13:22 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-05-28 13:13:22 +0000
commit79e1585c2d078e1d80e633107cd1f5a6bfe51496 (patch)
tree1dda6f9fba67fc199e21abfd467f8dc8cc893284 /options.c
parent186aa9d9d7e5581f7cb8059e27bfd6400688104a (diff)
downloadfetchmail-79e1585c2d078e1d80e633107cd1f5a6bfe51496.tar.gz
fetchmail-79e1585c2d078e1d80e633107cd1f5a6bfe51496.tar.bz2
fetchmail-79e1585c2d078e1d80e633107cd1f5a6bfe51496.zip
Properly initialize smtp_socket member.
svn path=/trunk/; revision=1033
Diffstat (limited to 'options.c')
-rw-r--r--options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/options.c b/options.c
index 74893519..dc39b284 100644
--- a/options.c
+++ b/options.c
@@ -122,6 +122,7 @@ struct query *ctl; /* option record to be initialized */
cmd_daemon = -1;
memset(ctl, '\0', sizeof(struct query)); /* start clean */
+ ctl->smtp_socket = -1;
while (!errflag &&
(c = getopt_long(argc,argv,shortoptions,