You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2005/11/15 11:30:05 UTC

svn commit: r344350 - /httpd/httpd/branches/2.2.x/modules/aaa/mod_authn_dbd.c

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[] =
 {