aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
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 d6266d4d..003854b8 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -330,6 +330,7 @@ static int reset_server(char *name, int skip)
return(FALSE);
memset(&current,'\0',sizeof(current));
+ current.smtp_socket = -1;
save_str(&current.server.names, -1, name);
current.server.skip = skip;
return(TRUE);
@@ -350,6 +351,7 @@ static void user_reset(void)
save = current.server;
memset(&current, '\0', sizeof(current));
+ current.smtp_socket = -1;
current.server = save;
}