1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

remove debug printfs

This commit is contained in:
Chris Conroy 2010-03-24 09:21:33 -04:00 committed by Daniel Stenberg
parent 9828b926ae
commit c869ae7447

View File

@ -69,9 +69,7 @@ int test(char *URL)
test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "Planes/Trains/Automobiles"); test_setopt(curl, CURLOPT_RTSP_TRANSPORT, "Planes/Trains/Automobiles");
test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP); test_setopt(curl, CURLOPT_RTSP_REQUEST, CURL_RTSPREQ_SETUP);
fprintf(stderr, "CPC: %s:%d\n", __FILE__, __LINE__);
res = curl_easy_perform(curl); res = curl_easy_perform(curl);
fprintf(stderr, "CPC: %s:%d\n", __FILE__, __LINE__);
if(res) if(res)
goto test_cleanup; goto test_cleanup;
@ -82,7 +80,6 @@ int test(char *URL)
test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri); test_setopt(curl, CURLOPT_RTSP_STREAM_URI, stream_uri);
free(stream_uri); free(stream_uri);
stream_uri = NULL; stream_uri = NULL;
fprintf(stderr, "CPC: %s:%d\n", __FILE__, __LINE__);
/* PUT style GET_PARAMETERS */ /* PUT style GET_PARAMETERS */
params = open("log/file572.txt", O_RDONLY); params = open("log/file572.txt", O_RDONLY);
@ -101,7 +98,6 @@ int test(char *URL)
test_setopt(curl, CURLOPT_UPLOAD, 1L); test_setopt(curl, CURLOPT_UPLOAD, 1L);
test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size); test_setopt(curl, CURLOPT_INFILESIZE_LARGE, (curl_off_t) file_info.st_size);
fprintf(stderr, "CPC: %s:%d\n", __FILE__, __LINE__);
res = curl_easy_perform(curl); res = curl_easy_perform(curl);
if(res) if(res)
goto test_cleanup; goto test_cleanup;
@ -109,7 +105,6 @@ int test(char *URL)
test_setopt(curl, CURLOPT_UPLOAD, 0L); test_setopt(curl, CURLOPT_UPLOAD, 0L);
fclose(paramsf); fclose(paramsf);
paramsf = NULL; paramsf = NULL;
fprintf(stderr, "CPC: %s:%d\n", __FILE__, __LINE__);
/* Heartbeat GET_PARAMETERS */ /* Heartbeat GET_PARAMETERS */
if((stream_uri = suburl(URL, request++)) == NULL) { if((stream_uri = suburl(URL, request++)) == NULL) {
@ -120,7 +115,6 @@ int test(char *URL)
free(stream_uri); free(stream_uri);
stream_uri = NULL; stream_uri = NULL;
fprintf(stderr, "CPC: %s:%d\n", __FILE__, __LINE__);
res = curl_easy_perform(curl); res = curl_easy_perform(curl);
if(res) if(res)
goto test_cleanup; goto test_cleanup;