[xiph-cvs] cvs commit: vorbis-tools/ogg123 http_transport.c
Jack Moffitt
jack at xiph.org
Wed Dec 19 16:09:23 PST 2001
jack 01/12/19 16:09:23
Modified: ogg123 http_transport.c
Log:
libcurl apparently has different defaults with different versions. Let's
be explicit.
Revision Changes Path
1.5 +4 -2 vorbis-tools/ogg123/http_transport.c
Index: http_transport.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/http_transport.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- http_transport.c 2001/12/19 05:37:32 1.4
+++ http_transport.c 2001/12/20 00:09:23 1.5
@@ -11,7 +11,7 @@
* *
********************************************************************
- last mod: $Id: http_transport.c,v 1.4 2001/12/19 05:37:32 volsung Exp $
+ last mod: $Id: http_transport.c,v 1.5 2001/12/20 00:09:23 jack Exp $
********************************************************************/
@@ -71,6 +71,8 @@
data_source_t *source = arg;
print_statistics_arg_t *pstats_arg;
+ printf("\nhttp_transport.c:progress_callback() is getting called\n");
+
pstats_arg = new_print_statistics_arg(stat_format,
source->transport->statistics(source),
NULL);
@@ -102,7 +104,7 @@
curl_easy_setopt(handle, CURLOPT_ERRORBUFFER, private->error);
curl_easy_setopt(handle, CURLOPT_PROGRESSFUNCTION, progress_callback);
curl_easy_setopt(handle, CURLOPT_PROGRESSDATA, source);
- //curl_easy_setopt(handle, CURLOPT_NOPROGRESS, 1);
+ curl_easy_setopt(handle, CURLOPT_NOPROGRESS, 0);
curl_easy_setopt(handle, CURLOPT_USERAGENT, "ogg123 "VERSION);
}
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list