summaryrefslogtreecommitdiff
path: root/TelnetV6.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2024-06-09 21:48:39 +0100
committerDave Hibberd <hibby@debian.org>2024-06-09 21:48:39 +0100
commit951f1d912a5cd1557caa3ef60becfd8f81b456a8 (patch)
tree4c27b93342cad98504a685ddb2bfba4a22b716ef /TelnetV6.c
parent933e6c5b86d989cd13e9694fe53f910b5963c955 (diff)
New upstream version 6.0.24.38upstream/6.0.24.38
Diffstat (limited to 'TelnetV6.c')
-rw-r--r--TelnetV6.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/TelnetV6.c b/TelnetV6.c
index a80a325..b139fad 100644
--- a/TelnetV6.c
+++ b/TelnetV6.c
@@ -3882,8 +3882,8 @@ MsgLoop:
if (strlen(MsgPtr) > 64)
{
- Debugprintf("Telnet Bad User Name %s", MsgPtr);
MsgPtr[64] = 0;
+ Debugprintf("Telnet Bad User Name %s", MsgPtr);
}
sprintf(logmsg,"%d %s User=%s\n", sockptr->Number, Addr, MsgPtr);
@@ -3958,8 +3958,8 @@ MsgLoop:
if (strlen(MsgPtr) > 64)
{
+ MsgPtr[64] = 0;
Debugprintf("Telnet Bad Password %s", MsgPtr);
- MsgPtr[64] = 0;
}
@@ -4757,8 +4757,8 @@ MsgLoop:
if (strlen(MsgPtr) > 64)
{
- Debugprintf("Telnet Bad User Name %s", MsgPtr);
MsgPtr[64] = 0;
+ Debugprintf("Telnet Bad User Name %s", MsgPtr);
}
sprintf(logmsg,"%d %s User=%s\n", sockptr->Number, Addr, MsgPtr);
@@ -4841,8 +4841,8 @@ MsgLoop:
if (strlen(MsgPtr) > 64)
{
+ MsgPtr[64] = 0;
Debugprintf("Telnet Bad Password %s", MsgPtr);
- MsgPtr[64] = 0;
}
sprintf(logmsg,"%d %s Password=%s\n", sockptr->Number, Addr, MsgPtr);