Return-Path: Delivered-To: apmail-httpd-cvs-archive@www.apache.org Received: (qmail 86754 invoked from network); 15 Nov 2005 10:29:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Nov 2005 10:29:57 -0000 Received: (qmail 26986 invoked by uid 500); 15 Nov 2005 10:29:53 -0000 Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 26859 invoked by uid 500); 15 Nov 2005 10:29:52 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 26829 invoked by uid 99); 15 Nov 2005 10:29:52 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 15 Nov 2005 02:29:52 -0800 Received: (qmail 86572 invoked by uid 65534); 15 Nov 2005 10:29:31 -0000 Message-ID: <20051115102931.86571.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r344349 - /httpd/httpd/trunk/modules/aaa/mod_authn_dbd.c Date: Tue, 15 Nov 2005 10:29:31 -0000 To: cvs@httpd.apache.org From: niq@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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[] = {