Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv25235/apps

Modified Files:
        app_curl.c 
Log Message:
Revert back on incorrect libcurl fix :-(


Index: app_curl.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_curl.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- app_curl.c  7 Apr 2005 21:18:14 -0000       1.4
+++ app_curl.c  7 Apr 2005 22:20:07 -0000       1.5
@@ -104,11 +104,7 @@
 
                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) {

_______________________________________________
Asterisk-Cvs mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-cvs

Reply via email to