Author: des Date: Wed Jul 28 15:29:18 2010 New Revision: 210563 URL: http://svn.freebsd.org/changeset/base/210563
Log: Fix a couple of embarrassing mistakes in the previous commit. Submitted by: Dimitry Andric <dimi...@andric.com> Modified: head/lib/libfetch/http.c Modified: head/lib/libfetch/http.c ============================================================================== --- head/lib/libfetch/http.c Wed Jul 28 15:22:52 2010 (r210562) +++ head/lib/libfetch/http.c Wed Jul 28 15:29:18 2010 (r210563) @@ -1786,13 +1786,13 @@ http_request(struct url *URL, const char case hdr_www_authenticate: if (conn->err != HTTP_NEED_AUTH) break; - if (http_parse_authenticate(p, &server_challenges)) + if (http_parse_authenticate(p, &server_challenges) == 0) ++n; break; case hdr_proxy_authenticate: if (conn->err != HTTP_NEED_PROXY_AUTH) break; - if (http_parse_authenticate(p, &proxy_challenges) == 0); + if (http_parse_authenticate(p, &proxy_challenges) == 0) ++n; break; case hdr_end: _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"