httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rpl...@apache.org
Subject svn commit: r571932 - /httpd/httpd/trunk/modules/proxy/mod_proxy_connect.c
Date Sun, 02 Sep 2007 08:57:35 GMT
Author: rpluem
Date: Sun Sep  2 01:57:34 2007
New Revision: 571932

URL: http://svn.apache.org/viewvc?rev=571932&view=rev
Log:
* Improve formating. No functional change.

Modified:
    httpd/httpd/trunk/modules/proxy/mod_proxy_connect.c

Modified: httpd/httpd/trunk/modules/proxy/mod_proxy_connect.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_proxy_connect.c?rev=571932&r1=571931&r2=571932&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/proxy/mod_proxy_connect.c (original)
+++ httpd/httpd/trunk/modules/proxy/mod_proxy_connect.c Sun Sep  2 01:57:34 2007
@@ -113,8 +113,9 @@
 
     /* we break the URL into host, port, uri */
     if (APR_SUCCESS != apr_uri_parse_hostinfo(p, url, &uri)) {
-        return ap_proxyerror(r, HTTP_BAD_REQUEST, apr_pstrcat(p,
-                             "URI cannot be parsed: ", url, NULL));
+        return ap_proxyerror(r, HTTP_BAD_REQUEST,
+                             apr_pstrcat(p, "URI cannot be parsed: ", url,
+                                         NULL));
     }
 
     ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, r->server,
@@ -124,9 +125,9 @@
     err = apr_sockaddr_info_get(&uri_addr, uri.hostname, APR_UNSPEC, uri.port,
                                 0, p);
     if (APR_SUCCESS != err) {
-       return ap_proxyerror(r, HTTP_BAD_GATEWAY, apr_pstrcat(p,
-                            "DNS lookup failure for: ",
-                            uri.hostname, NULL));
+        return ap_proxyerror(r, HTTP_BAD_GATEWAY,
+                             apr_pstrcat(p, "DNS lookup failure for: ",
+                                         uri.hostname, NULL));
     }
 
     /* are we connecting directly, or via a proxy? */



Mime
View raw message