When sanity-checking a variable, it's good to check the correct variable...

MFC after:	1 week
This commit is contained in:
Garance A Drosehn 2003-06-12 03:30:10 +00:00
parent e86c7447c2
commit da464120d5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=116230

View File

@ -563,7 +563,7 @@ ctl_renametf(const char *ptrname, const char *tfname)
if (cjinf->cji_mailto == NULL)
nogood = 1;
else {
for (cp = cjinf->cji_acctuser; *cp != '\0'; cp++) {
for (cp = cjinf->cji_mailto; *cp != '\0'; cp++) {
if (*cp <= ' ') {
nogood = 1;
break;