Author: markj Date: Tue Sep 22 15:54:18 2020 New Revision: 366003 URL: https://svnweb.freebsd.org/changeset/base/366003
Log: 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 Modified: head/libexec/ftpd/ftpd.c Modified: head/libexec/ftpd/ftpd.c ============================================================================== --- head/libexec/ftpd/ftpd.c Tue Sep 22 15:54:05 2020 (r366002) +++ head/libexec/ftpd/ftpd.c Tue Sep 22 15:54:18 2020 (r366003) @@ -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, _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"