httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r344350 - /httpd/httpd/branches/2.2.x/modules/aaa/mod_authn_dbd.c
Date Tue, 15 Nov 2005 10:30:05 GMT
Author: niq
Date: Tue Nov 15 02:30:03 2005
New Revision: 344350

URL: http://svn.apache.org/viewcvs?rev=344350&view=rev
Log:
Replace dodgy cast with ap_set_string_slot

Modified:
    httpd/httpd/branches/2.2.x/modules/aaa/mod_authn_dbd.c

Modified: httpd/httpd/branches/2.2.x/modules/aaa/mod_authn_dbd.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.2.x/modules/aaa/mod_authn_dbd.c?rev=344350&r1=344349&r2=344350&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/modules/aaa/mod_authn_dbd.c (original)
+++ httpd/httpd/branches/2.2.x/modules/aaa/mod_authn_dbd.c Tue Nov 15 02:30:03 2005
@@ -70,8 +70,7 @@
     authn_dbd_prepare_fn(cmd->server, query, label);
 
     /* save the label here for our own use */
-    *(void**)cfg = label;
-    return NULL;
+    return ap_set_string_slot(cmd, cfg, label);
 }
 static const command_rec authn_dbd_cmds[] =
 {



Mime
View raw message