diff options
author | gad <gad@FreeBSD.org> | 2003-06-12 03:30:10 +0000 |
---|---|---|
committer | gad <gad@FreeBSD.org> | 2003-06-12 03:30:10 +0000 |
commit | ae83ba896ac31291e39bcb04b40217c7c6a29f96 (patch) | |
tree | af32e6485ade81b04dd38b9916457eadc24a32b3 /usr.sbin/lpr | |
parent | e9ac0091c2d4ad64afce86ed7845920b48c19a5a (diff) | |
download | FreeBSD-src-ae83ba896ac31291e39bcb04b40217c7c6a29f96.zip FreeBSD-src-ae83ba896ac31291e39bcb04b40217c7c6a29f96.tar.gz |
When sanity-checking a variable, it's good to check the correct variable...
MFC after: 1 week
Diffstat (limited to 'usr.sbin/lpr')
-rw-r--r-- | usr.sbin/lpr/common_source/ctlinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/lpr/common_source/ctlinfo.c b/usr.sbin/lpr/common_source/ctlinfo.c index 3e704f2..78b1de7 100644 --- a/usr.sbin/lpr/common_source/ctlinfo.c +++ b/usr.sbin/lpr/common_source/ctlinfo.c @@ -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; |