]> granicus.if.org Git - apache/commitdiff
Remove some useless 'return' statements.
authorChristophe Jaillet <jailletc36@apache.org>
Sat, 21 Nov 2015 21:14:19 +0000 (21:14 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sat, 21 Nov 2015 21:14:19 +0000 (21:14 +0000)
Fix style and alignment.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1715576 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy_http.c

index 41c09dcd73e3018b52d40819e0642682731184cc..8c048ecbabfa037354c9cd465b8693a9619cc62d 100644 (file)
@@ -1127,7 +1127,6 @@ static void process_proxy_header(request_rec *r, proxy_dir_conf *c,
        }
     }
     apr_table_add(r->headers_out, key, value);
-    return;
 }
 
 /*
@@ -1198,10 +1197,11 @@ static void ap_proxy_read_headers(request_rec *r, request_rec *rr,
                                       r->uri, r->method);
                         *pread_len = len;
                         return;
-                    } else {
-                         ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(01099)
-                                       "No HTTP headers returned by %s (%s)",
-                                       r->uri, r->method);
+                    }
+                    else {
+                        ap_log_rerror(APLOG_MARK, APLOG_WARNING, 0, r, APLOGNO(01099)
+                                      "No HTTP headers returned by %s (%s)",
+                                      r->uri, r->method);
                         return;
                     }
                 }