Fixed problem posting email

This commit is contained in:
Michiel Broek 2001-10-27 16:04:11 +00:00
parent 0ede531286
commit 2e5e3724d5

View File

@ -2,7 +2,7 @@
* *
* File ..................: bbs/funcs4.c * File ..................: bbs/funcs4.c
* Purpose ...............: Misc functions, also for some utils. * Purpose ...............: Misc functions, also for some utils.
* Last modification date : 18-Oct-2001 * Last modification date : 27-Oct-2001
* *
***************************************************************************** *****************************************************************************
* Copyright (C) 1997-2001 * Copyright (C) 1997-2001
@ -202,7 +202,7 @@ void GetstrU(char *sStr, int iMaxlen)
putchar('\007'); putchar('\007');
} }
if (isalnum(ch)) { if (isalnum(ch) || (ch == '@')) {
if (iPos <= iMaxlen) { if (iPos <= iMaxlen) {
iPos++; iPos++;
sprintf(sStr, "%s%c", sStr, ch); sprintf(sStr, "%s%c", sStr, ch);