Author: samisa
Date: Tue Aug 30 13:50:00 2011
New Revision: 1163208
URL: http://svn.apache.org/viewvc?rev=1163208&view=rev
Log:
applying patch AXIS2C-1522, to fix corruption
Modified:
axis/axis2/c/core/trunk/src/core/transport/http/sender/libcurl/axis2_libcurl.c
Modified:
axis/axis2/c/core/trunk/src/core/transport/http/sender/libcurl/axis2_libcurl.c
URL:
http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/sender/libcurl/axis2_libcurl.c?rev=1163208&r1=1163207&r2=1163208&view=diff
==============================================================================
---
axis/axis2/c/core/trunk/src/core/transport/http/sender/libcurl/axis2_libcurl.c
(original)
+++
axis/axis2/c/core/trunk/src/core/transport/http/sender/libcurl/axis2_libcurl.c
Tue Aug 30 13:50:00 2011
@@ -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_);