From 254dd385569a1e7692cae7d8df5b827311303608 Mon Sep 17 00:00:00 2001 From: Nick Kew Date: Tue, 15 Nov 2005 10:29:27 +0000 Subject: 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 --- modules/aaa/mod_authn_dbd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/aaa/mod_authn_dbd.c') 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[] = { -- cgit v1.2.3