From 79e1585c2d078e1d80e633107cd1f5a6bfe51496 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 28 May 1997 13:13:22 +0000 Subject: Properly initialize smtp_socket member. svn path=/trunk/; revision=1033 --- fetchmail.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fetchmail.c') 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; -- cgit v1.2.3