]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix compile error:
authorRainer Jung <rjung@apache.org>
Fri, 12 Feb 2016 00:18:38 +0000 (00:18 +0000)
committerRainer Jung <rjung@apache.org>
Fri, 12 Feb 2016 00:18:38 +0000 (00:18 +0000)
- missing semicolons
- s/req/r/

Followup to r1729901

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

server/core.c

index 6b540296de9b39b884a8f3be56d7be5bd23cd48e..3b8c0029af7c71f09385eb55f2f62ef0f89ecdb2 100644 (file)
@@ -957,7 +957,7 @@ AP_DECLARE(const char *) ap_get_remote_host(conn_rec *conn, void *dir_config,
 
             if (hostname_lookups == HOSTNAME_LOOKUP_DOUBLE) {
                 do_double_reverse(&conn->double_reverse, conn->remote_host,
-                                  conn->client_addr, conn->pool)
+                                  conn->client_addr, conn->pool);
                 if (conn->double_reverse != 1) {
                     conn->remote_host = NULL;
                 }
@@ -972,7 +972,7 @@ AP_DECLARE(const char *) ap_get_remote_host(conn_rec *conn, void *dir_config,
 
     if (type == REMOTE_DOUBLE_REV) {
         do_double_reverse(&conn->double_reverse, conn->remote_host,
-                          conn->client_addr, conn->pool)
+                          conn->client_addr, conn->pool);
         if (conn->double_reverse == -1) {
             return NULL;
         }
@@ -1004,7 +1004,7 @@ AP_DECLARE(const char *) ap_get_useragent_host(request_rec *r,
     int hostname_lookups;
     int ignored_str_is_ip;
 
-    if (req->useragent_addr == conn->client_addr) {
+    if (r->useragent_addr == conn->client_addr) {
         return ap_get_remote_host(conn, r->per_dir_config, type, str_is_ip);
     }
 
@@ -1031,7 +1031,7 @@ AP_DECLARE(const char *) ap_get_useragent_host(request_rec *r,
 
             if (hostname_lookups == HOSTNAME_LOOKUP_DOUBLE) {
                 do_double_reverse(&r->double_reverse, r->useragent_host,
-                                  r->useragent_addr, r->pool)
+                                  r->useragent_addr, r->pool);
                 if (r->double_reverse != 1) {
                     r->useragent_host = NULL;
                 }
@@ -1046,7 +1046,7 @@ AP_DECLARE(const char *) ap_get_useragent_host(request_rec *r,
 
     if (type == REMOTE_DOUBLE_REV) {
         do_double_reverse(&r->double_reverse, r->useragent_host,
-                          r->useragent_addr, r->pool)
+                          r->useragent_addr, r->pool);
         if (r->double_reverse == -1) {
             return NULL;
         }