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/09/11 12:00:48 UTC

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

Author: shankar
Date: Fri Sep 11 10:00:48 2009
New Revision: 813751

URL: http://svn.apache.org/viewvc?rev=813751&view=rev
Log:
fixing build error on windows.

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

Modified: webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_stream.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_stream.c?rev=813751&r1=813750&r2=813751&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_stream.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/server/apache2/apache2_stream.c Fri Sep 11 10:00:48 2009
@@ -55,7 +55,7 @@
     axutil_stream_t * stream,
     const axutil_env_t * env);
 
-AP_DECLARE(long) apache2_ap_get_client_block(
+long apache2_ap_get_client_block(
     request_rec *r,
     char* buffer, 
     apr_size_t bufsiz);
@@ -98,7 +98,7 @@
     size_t count)
 {
     apache2_stream_impl_t *stream_impl = NULL;
-    ssize_t read = 0;
+    size_t read = 0;
     size_t len = 0;
 
     AXIS2_ENV_CHECK(env, AXIS2_CRITICAL_FAILURE);
@@ -205,8 +205,10 @@
  * Returns 0 on End-of-body, -1 on error or premature chunk end.
  *
  */
-AP_DECLARE(long) apache2_ap_get_client_block (request_rec *r, char *buffer,
-        apr_size_t bufsiz)
+long apache2_ap_get_client_block(
+    request_rec *r,
+    char *buffer,
+    apr_size_t bufsiz)
 {
     apr_status_t rv;
     apr_bucket_brigade *bb;