aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.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 /fetchmail.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 'fetchmail.c')
-rw-r--r--fetchmail.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index 723257f9..9652dab3 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -533,6 +533,7 @@ static int load_params(int argc, char **argv, int optind)
struct query def_opts, *ctl, *mp;
memset(&def_opts, '\0', sizeof(struct query));
+ def_opts.smtp_socket = -1;
def_opts.server.protocol = P_AUTO;
def_opts.server.timeout = CLIENT_TIMEOUT;