You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2019/08/09 05:18:22 UTC

svn commit: r1864759 - /httpd/httpd/trunk/modules/aaa/mod_authz_core.c

Author: jailletc36
Date: Fri Aug  9 05:18:22 2019
New Revision: 1864759

URL: http://svn.apache.org/viewvc?rev=1864759&view=rev
Log:
Axe some dead code + slighly improve a comment

Modified:
    httpd/httpd/trunk/modules/aaa/mod_authz_core.c

Modified: httpd/httpd/trunk/modules/aaa/mod_authz_core.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/aaa/mod_authz_core.c?rev=1864759&r1=1864758&r2=1864759&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_authz_core.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_authz_core.c Fri Aug  9 05:18:22 2019
@@ -196,9 +196,9 @@ static authz_status authz_alias_check_au
     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_au
                           provider_name);
         }
     }
-    else {
-        ap_assert(provider_name != NULL);
-    }
 
     return ret;
 }