Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2012 12:31:43 +0000 (UTC)
From:      Dag-Erling Smørgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r243149 - head/lib/libfetch
Message-ID:  <201211161231.qAGCVh0I085256@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211161231.qAGCVh0I085256>