]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Axe some dead code + slighly improve a comment
authorChristophe Jaillet <jailletc36@apache.org>
Fri, 9 Aug 2019 05:18:22 +0000 (05:18 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Fri, 9 Aug 2019 05:18:22 +0000 (05:18 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1864759 13f79535-47bb-0310-9956-ffa450edef68

modules/aaa/mod_authz_core.c

index 958511446efcf187ae0e685938c0f0d7ffcf85c4..9c12003018bd45ca7eaa3e2adfc679d7f288a1d1 100644 (file)
@@ -196,9 +196,9 @@ static authz_status authz_alias_check_authorization(request_rec *r,
     authz_status ret = AUTHZ_DENIED;
 
     /* Look up the provider alias in the alias list.
-     * Get the dir_config and call ap_Merge_per_dir_configs()
+     * Get the dir_config and call ap_merge_per_dir_configs()
      * Call the real provider->check_authorization() function
-     * return the result of the above function call
+     * Return the result of the above function call
      */
 
     provider_name = apr_table_get(r->notes, AUTHZ_PROVIDER_NAME_NOTE);
@@ -234,9 +234,6 @@ static authz_status authz_alias_check_authorization(request_rec *r,
                           provider_name);
         }
     }
-    else {
-        ap_assert(provider_name != NULL);
-    }
 
     return ret;
 }