[xiph-commits] r12202 - trunk/vorbis-tools/ogg123
conrad at svn.xiph.org
conrad at svn.xiph.org
Sun Dec 10 06:47:19 PST 2006
Author: conrad
Date: 2006-12-10 06:47:17 -0800 (Sun, 10 Dec 2006)
New Revision: 12202
Modified:
trunk/vorbis-tools/ogg123/http_transport.c
Log:
ogg123: Conditionally remove use of obsolete CURLOPT_MUTE option. This option
has been obsolete since 2001 and is not defined in recent libcurl headers.
Patch from qboosh (PLD Linux). Closes ticket:1097
Modified: trunk/vorbis-tools/ogg123/http_transport.c
===================================================================
--- trunk/vorbis-tools/ogg123/http_transport.c 2006-12-10 14:32:29 UTC (rev 12201)
+++ trunk/vorbis-tools/ogg123/http_transport.c 2006-12-10 14:47:17 UTC (rev 12202)
@@ -116,7 +116,9 @@
if (inputOpts.ProxyTunnel)
curl_easy_setopt (handle, CURLOPT_HTTPPROXYTUNNEL, inputOpts.ProxyTunnel);
*/
+#ifdef CURLOPT_MUTE
curl_easy_setopt(handle, CURLOPT_MUTE, 1);
+#endif
curl_easy_setopt(handle, CURLOPT_ERRORBUFFER, private->error);
curl_easy_setopt(handle, CURLOPT_PROGRESSFUNCTION, progress_callback);
curl_easy_setopt(handle, CURLOPT_PROGRESSDATA, private);
More information about the commits
mailing list