Commit b6ce6eb4 authored by Nick Kew's avatar Nick Kew
Browse files

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
parent 0e78ff60
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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[] =
{