Don't set "success" flags before error checks.
authorray <ray@openbsd.org>
Fri, 30 Jul 2010 11:02:56 +0000 (11:02 +0000)
committerray <ray@openbsd.org>
Fri, 30 Jul 2010 11:02:56 +0000 (11:02 +0000)
commitb73df28420047b5b68c919176bc03f63d104378d
treeab1f5b3133801b62a14147a4f70b4eeda79f9ea8
parent6a85f4923a5c65b1bc318c6b2edd9b18e4d8eddc
Don't set "success" flags before error checks.
Add check for login_getclass() failure, pointed out by tobias.

OK tobias
libexec/ftpd/ftpd.c