Allow comma again in several input functions
This commit is contained in:
parent
ce6f83241b
commit
32e892d5b6
@ -26,6 +26,7 @@ v0.81.2 14-Oct-2005.
|
|||||||
mbsebbs:
|
mbsebbs:
|
||||||
Accepts connections via ssh.
|
Accepts connections via ssh.
|
||||||
Log close message sent to the user.
|
Log close message sent to the user.
|
||||||
|
Allow comma again in several input functions.
|
||||||
|
|
||||||
mbnewusr:
|
mbnewusr:
|
||||||
Accepts connections via ssh.
|
Accepts connections via ssh.
|
||||||
|
@ -410,7 +410,7 @@ void GetstrC(char *sStr, int iMaxlen)
|
|||||||
PUTCHAR('\007');
|
PUTCHAR('\007');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((ch > 31) && (ch < 127) && (ch != ',')) {
|
if ((ch > 31) && (ch < 127)) {
|
||||||
if (iPos <= iMaxlen) {
|
if (iPos <= iMaxlen) {
|
||||||
iPos++;
|
iPos++;
|
||||||
snprintf(sStr + strlen(sStr), 5, "%c", ch);
|
snprintf(sStr + strlen(sStr), 5, "%c", ch);
|
||||||
@ -688,7 +688,7 @@ void GetnameNE(char *sStr, int iMaxlen)
|
|||||||
putchar('\007');
|
putchar('\007');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((ch > 31) && (ch < 127) && (ch != ',')) {
|
if ((ch > 31) && (ch < 127)) {
|
||||||
if (iPos < iMaxlen) {
|
if (iPos < iMaxlen) {
|
||||||
iPos++;
|
iPos++;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user