You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sh...@apache.org on 2009/12/15 07:41:44 UTC

svn commit: r890669 - /webservices/axis2/trunk/c/src/core/transport/http/server/apache2/mod_axis2.c

Author: shankar
Date: Tue Dec 15 06:41:43 2009
New Revision: 890669

URL: http://svn.apache.org/viewvc?rev=890669&view=rev
Log:
Fixing compilation error on Windows. 

Modified:
    webservices/axis2/trunk/c/src/core/transport/http/server/apache2/mod_axis2.c

Modified: webservices/axis2/trunk/c/src/core/transport/http/server/apache2/mod_axis2.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/server/apache2/mod_axis2.c?rev=890669&r1=890668&r2=890669&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/server/apache2/mod_axis2.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/server/apache2/mod_axis2.c Tue Dec 15 06:41:43 2009
@@ -741,9 +741,10 @@
     apr_dbd_prepared_t *statement;
     apr_dbd_results_t *res = NULL;
     apr_dbd_row_t *row = NULL;
+    ap_dbd_t *dbd = NULL;
 
     request = (request_rec *) req;
-    ap_dbd_t *dbd = ap_dbd_acquire(request);
+    dbd = ap_dbd_acquire(request);
     if (!dbd) 
     {
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, request,
@@ -802,10 +803,11 @@
     request_rec *request = NULL;
     apr_dbd_prepared_t *statement;
     int affected_rows = -1;
+    ap_dbd_t *dbd = NULL;
 
     request = (request_rec *) req;
 
-    ap_dbd_t *dbd = ap_dbd_acquire(request);
+    dbd = ap_dbd_acquire(request);
     if (!dbd) 
     {
         ap_log_rerror(APLOG_MARK, APLOG_ERR, 0, request,