summaryrefslogtreecommitdiffstats
path: root/src/core/transport/http/sender/libcurl
diff options
context:
space:
mode:
authorGravatar samisa2011-08-30 13:50:00 +0000
committerGravatar samisa2011-08-30 13:50:00 +0000
commit2c0d16cf0efd65ac60d03d597fe6cf327fefc501 (patch)
tree17cc452cea7a6bbfefb0dbf158878703ee177b75 /src/core/transport/http/sender/libcurl
parent83cf57c2f3acc697686190fb8a0dd67297e642f9 (diff)
downloadaxis2c-2c0d16cf0efd65ac60d03d597fe6cf327fefc501.tar.gz
axis2c-2c0d16cf0efd65ac60d03d597fe6cf327fefc501.tar.bz2
applying patch AXIS2C-1522, to fix corruption
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@1163208 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/core/transport/http/sender/libcurl')
-rw-r--r--src/core/transport/http/sender/libcurl/axis2_libcurl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/transport/http/sender/libcurl/axis2_libcurl.c b/src/core/transport/http/sender/libcurl/axis2_libcurl.c
index 5d68f17..2dfe6f9 100644
--- a/src/core/transport/http/sender/libcurl/axis2_libcurl.c
+++ b/src/core/transport/http/sender/libcurl/axis2_libcurl.c
@@ -146,7 +146,7 @@ axis2_libcurl_send(
handler = data->handler;
curl_easy_reset(handler);
- curl_easy_setopt(handler, CURLOPT_ERRORBUFFER, &data->errorbuffer);
+ curl_easy_setopt(handler, CURLOPT_ERRORBUFFER, data->errorbuffer);
headers = curl_slist_append(headers, AXIS2_HTTP_HEADER_USER_AGENT_AXIS2C);
headers = curl_slist_append(headers, AXIS2_HTTP_HEADER_ACCEPT_);
headers = curl_slist_append(headers, AXIS2_HTTP_HEADER_EXPECT_);