httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jor...@apache.org
Subject svn commit: r375549 - /httpd/httpd/trunk/modules/aaa/mod_authz_core.c
Date Tue, 07 Feb 2006 08:53:41 GMT
Author: jorton
Date: Tue Feb  7 00:53:37 2006
New Revision: 375549

URL: http://svn.apache.org/viewcvs?rev=375549&view=rev
Log:
* modules/aaa/mod_authz_core.c (add_authz_provider): Fix pointer cast
warning on LP64 platforms.

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/viewcvs/httpd/httpd/trunk/modules/aaa/mod_authz_core.c?rev=375549&r1=375548&r2=375549&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_authz_core.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_authz_core.c Tue Feb  7 00:53:37 2006
@@ -173,7 +173,7 @@
                                         newp->provider_name, "0");
     newp->req_state = conf->req_state;
     newp->req_state_level = conf->req_state_level;
-    newp->is_reject = (int)cmd->info;
+    newp->is_reject = (cmd->info != NULL);
 
     /* by the time the config file is used, the provider should be loaded
      * and registered with us.



Mime
View raw message