aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-12-17 12:04:49 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-12-17 12:04:49 +0000
commitd1033c59916eff7a9b40ed2f746e621aad9e226b (patch)
treeca85dd6ea56e6118f9ed4a2beca40af12bd9cf9d
parentebd849aa9ca0607fa0a2ee24942e4e8210039aed (diff)
downloadanubis-d1033c59916eff7a9b40ed2f746e621aad9e226b.tar.gz
anubis-d1033c59916eff7a9b40ed2f746e621aad9e226b.tar.bz2
Removed session_struct.mta_username, mta_password
-rw-r--r--src/quit.c2
-rw-r--r--src/tunnel.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/quit.c b/src/quit.c
index 1da4623..ee17b60 100644
--- a/src/quit.c
+++ b/src/quit.c
@@ -61,8 +61,6 @@ free_mem (void)
void
quit (int code)
{
- memset (session.mta_username, 0, sizeof (session.mta_username));
- memset (session.mta_password, 0, sizeof (session.mta_password));
#ifdef HAVE_SYSLOG
if ((topt & T_DAEMON) && !(topt & T_FOREGROUND))
closelog ();
diff --git a/src/tunnel.c b/src/tunnel.c
index eae0dcf..0d87256 100644
--- a/src/tunnel.c
+++ b/src/tunnel.c
@@ -684,8 +684,6 @@ handle_ehlo (char *command, char *reply, size_t reply_size)
esmtp_auth (&remote_server, p + 5);
if (q)
memmove (p - 4, q + 1, strlen (q + 1) + 1);
- memset (session.mta_username, 0, sizeof (session.mta_username));
- memset (session.mta_password, 0, sizeof (session.mta_password));
}
}

Return to:

Send suggestions and report system problems to the System administrator.