From: Nick Kew Date: Tue, 15 Nov 2005 10:29:27 +0000 (+0000) Subject: Replace dodgy cast with ap_set_string_slot X-Git-Tag: 2.3.0~2770 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=254dd385569a1e7692cae7d8df5b827311303608;p=apache Replace dodgy cast with ap_set_string_slot git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@344349 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/aaa/mod_authn_dbd.c b/modules/aaa/mod_authn_dbd.c index 15d1ae4bb2..460ad23b01 100644 --- a/modules/aaa/mod_authn_dbd.c +++ b/modules/aaa/mod_authn_dbd.c @@ -70,8 +70,7 @@ static const char *authn_dbd_prepare(cmd_parms *cmd, void *cfg, const char *quer 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[] = {