httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject svn commit: r344349 - /httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c
Date Tue, 15 Nov 2005 10:29:31 GMT
Author: niq
Date: Tue Nov 15 02:29:27 2005
New Revision: 344349

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

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

Modified: httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c?rev=344349&r1=344348&r2=344349&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c (original)
+++ httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c Tue Nov 15 02:29:27 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