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/08/11 16:12:16 UTC
svn commit: r231464 - in /httpd/httpd/trunk/modules/experimental: mod_dbd.c
mod_dbd.h
Author: niq
Date: Thu Aug 11 07:12:13 2005
New Revision: 231464
URL: http://svn.apache.org/viewcvs?rev=231464&view=rev
Log:
Add const-ness to apr_dbd_driver_t
Modified:
httpd/httpd/trunk/modules/experimental/mod_dbd.c
httpd/httpd/trunk/modules/experimental/mod_dbd.h
Modified: httpd/httpd/trunk/modules/experimental/mod_dbd.c
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/experimental/mod_dbd.c?rev=231464&r1=231463&r2=231464&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/experimental/mod_dbd.c (original)
+++ httpd/httpd/trunk/modules/experimental/mod_dbd.c Thu Aug 11 07:12:13 2005
@@ -71,7 +71,7 @@
static const char *dbd_param(cmd_parms *cmd, void *cfg, const char *val)
{
const char *p;
- apr_dbd_driver_t *driver = NULL;
+ const apr_dbd_driver_t *driver = NULL;
svr_cfg *svr = (svr_cfg*) ap_get_module_config
(cmd->server->module_config, &dbd_module);
Modified: httpd/httpd/trunk/modules/experimental/mod_dbd.h
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/experimental/mod_dbd.h?rev=231464&r1=231463&r2=231464&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/experimental/mod_dbd.h (original)
+++ httpd/httpd/trunk/modules/experimental/mod_dbd.h Thu Aug 11 07:12:13 2005
@@ -29,7 +29,7 @@
typedef struct {
apr_dbd_t *handle;
- apr_dbd_driver_t *driver;
+ const apr_dbd_driver_t *driver;
apr_hash_t *prepared;
} ap_dbd_t;