diff options
author | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-07 22:20:07 +0000 |
---|---|---|
committer | mattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-04-07 22:20:07 +0000 |
commit | 8313b60230e15cbf40cfa43a10f118225605eafa (patch) | |
tree | cd651d6646843f27ade3eb817b1bee2d5c19c1a7 /apps/app_curl.c | |
parent | 6919ba569f86f805193753d4b73229b4afa640f1 (diff) |
Revert back on incorrect libcurl fix :-(
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5438 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_curl.c')
-rwxr-xr-x | apps/app_curl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/app_curl.c b/apps/app_curl.c index 06d387c54..558117d08 100755 --- a/apps/app_curl.c +++ b/apps/app_curl.c @@ -104,11 +104,7 @@ static int curl_exec(struct ast_channel *chan, void *data) curl_easy_setopt(curl, CURLOPT_URL, url); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, WriteMemoryCallback); -#ifdef CURLOPT_WRITEDATA curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)&chunk); -#else - curl_easy_setopt(curl, CURLOPT_WRITEINFO, (void *)&chunk); -#endif curl_easy_setopt(curl, CURLOPT_USERAGENT, "asterisk-libcurl-agent/1.0"); if (post_data) { |