ftpd: Add missing braces around a statfd check

This was harmless but looked incorrect.  No functional change intended.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Mark Johnston 2020-09-22 15:54:18 +00:00
parent 0aabff2880
commit 3c0c1e01c9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=366003

View File

@ -1530,7 +1530,7 @@ skip:
setusercontext(lc, pw, 0, LOGIN_SETRESOURCES);
#endif
if (guest && stats && statfd < 0)
if (guest && stats && statfd < 0) {
#ifdef VIRTUAL_HOSTING
statfd = open(thishost->statfile, O_WRONLY|O_APPEND);
#else
@ -1538,6 +1538,7 @@ skip:
#endif
if (statfd < 0)
stats = 0;
}
/*
* For a chrooted local user,