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:29:31 UTC

svn commit: r344349 - /httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c

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