axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dushshan...@apache.org
Subject svn commit: r572551 - /webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c
Date Tue, 04 Sep 2007 06:40:59 GMT
Author: dushshantha
Date: Mon Sep  3 23:40:58 2007
New Revision: 572551

URL: http://svn.apache.org/viewvc?rev=572551&view=rev
Log:
fixed a build break enabling libcurl. Thanks samisa for the fix.

Modified:
    webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c

Modified: webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c?rev=572551&r1=572550&r2=572551&view=diff
==============================================================================
--- webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c (original)
+++ webservices/axis2/trunk/c/src/core/transport/http/sender/http_sender.c Mon Sep  3 23:40:58
2007
@@ -59,12 +59,12 @@
 is_safe_or_unreserve (
 	char c);
 
+#ifndef AXIS2_LIBCURL_ENABLED
 static void
 axis2_http_sender_add_header_list (axis2_http_simple_request_t *request,
                                    const axutil_env_t *env,
                                    axutil_array_list_t *array_list);
 
-#ifndef AXIS2_LIBCURL_ENABLED
 static axis2_status_t
 axis2_http_sender_configure_proxy(
     axis2_http_sender_t *sender,
@@ -938,6 +938,23 @@
 }
 
 #ifndef AXIS2_LIBCURL_ENABLED
+static void
+axis2_http_sender_add_header_list (axis2_http_simple_request_t *request,
+                                   const axutil_env_t *env,
+                                   axutil_array_list_t *array_list)
+{
+    int ii = 0;
+    int kk = 0;
+    axis2_http_header_t *http_header = NULL;
+    ii = axutil_array_list_size (array_list, env);
+    for (; kk < ii; kk++)
+    {
+        http_header = (axis2_http_header_t *)axutil_array_list_get (array_list, env, kk);
+        axis2_http_simple_request_add_header (request, env, http_header);
+    }
+}
+
+
 static axis2_status_t
 axis2_http_sender_configure_proxy(
     axis2_http_sender_t *sender,
@@ -1474,18 +1491,4 @@
     axis2_http_simple_request_add_header(request, env, http_header);
 }
 
-static void
-axis2_http_sender_add_header_list (axis2_http_simple_request_t *request,
-                                   const axutil_env_t *env,
-                                   axutil_array_list_t *array_list)
-{
-    int ii = 0;
-    int kk = 0;
-    axis2_http_header_t *http_header = NULL;
-    ii = axutil_array_list_size (array_list, env);
-    for (; kk < ii; kk++)
-    {
-        http_header = (axis2_http_header_t *)axutil_array_list_get (array_list, env, kk);
-        axis2_http_simple_request_add_header (request, env, http_header);
-    }
-}
+



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message