svn commit: r243149 - head/lib/libfetch

Dag-Erling Smørgrav des at FreeBSD.org
Fri Nov 16 12:31:44 UTC 2012


Author: des
Date: Fri Nov 16 12:31:43 2012
New Revision: 243149
URL: http://svnweb.freebsd.org/changeset/base/243149

Log:
  Fix weird indentation.

Modified:
  head/lib/libfetch/http.c

Modified: head/lib/libfetch/http.c
==============================================================================
--- head/lib/libfetch/http.c	Fri Nov 16 12:12:02 2012	(r243148)
+++ head/lib/libfetch/http.c	Fri Nov 16 12:31:43 2012	(r243149)
@@ -1752,11 +1752,11 @@ http_request(struct url *URL, const char
 
 		/* get headers. http_next_header expects one line readahead */
 		if (fetch_getln(conn) == -1) {
-		    fetch_syserr();
-		    goto ouch;
+			fetch_syserr();
+			goto ouch;
 		}
 		do {
-		    switch ((h = http_next_header(conn, &headerbuf, &p))) {
+			switch ((h = http_next_header(conn, &headerbuf, &p))) {
 			case hdr_syserror:
 				fetch_syserr();
 				goto ouch;
@@ -1785,7 +1785,7 @@ http_request(struct url *URL, const char
 				    conn->err != HTTP_USE_PROXY) {
 					n = 1;
 					break;
-                                }
+				}
 				if (new)
 					free(new);
 				if (verbose)


More information about the svn-src-all mailing list