]> git.pld-linux.org Git - packages/xine-ui.git/blob - xine-ui-curl.patch
- release 3
[packages/xine-ui.git] / xine-ui-curl.patch
1 --- xine-ui-0.9.23/src/xitk/download.c.orig     2004-04-12 21:48:45.855184848 +0200
2 +++ xine-ui-0.9.23/src/xitk/download.c  2004-04-12 21:49:00.811911080 +0200
3 @@ -96,24 +96,24 @@
4      
5      curl_easy_setopt(curl, CURLOPT_VERBOSE, 
6  #ifdef DEBUG
7 -                    TRUE
8 +                    1
9  #else
10 -                    FALSE
11 +                    0
12  #endif
13                      );
14      
15      curl_easy_setopt(curl, CURLOPT_URL, url);
16      
17      curl_easy_setopt(curl, CURLOPT_USERAGENT, user_agent);
18 -    curl_easy_setopt(curl, CURLOPT_NOSIGNAL, TRUE);
19 -    curl_easy_setopt(curl, CURLOPT_FAILONERROR, TRUE); 
20 -    curl_easy_setopt(curl, CURLOPT_NETRC, TRUE);
21 -    curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, TRUE);
22 +    curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1);
23 +    curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1); 
24 +    curl_easy_setopt(curl, CURLOPT_NETRC, 1);
25 +    curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
26  
27      curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, store_data);
28      curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)download);
29  
30 -    curl_easy_setopt(curl, CURLOPT_NOPROGRESS, FALSE);
31 +    curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0);
32      curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, progress_callback);
33      curl_easy_setopt(curl, CURLOPT_PROGRESSDATA, (void *)download);
34      
This page took 0.03562 seconds and 3 git commands to generate.