"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/imlib.c" between
feh-3.9.tar.bz2 and feh-3.9.1.tar.bz2

About: feh is an X11 image viewer aimed mostly at console users.

imlib.c  (feh-3.9.tar.bz2):imlib.c  (feh-3.9.1.tar.bz2)
skipping to change at line 898 skipping to change at line 898
* Do not allow requests to take longer than 30 minutes. * Do not allow requests to take longer than 30 minutes.
* This should be sufficiently high to accommodate use ca ses with * This should be sufficiently high to accommodate use ca ses with
* unusually high latencies, while at the same time avoid ing * unusually high latencies, while at the same time avoid ing
* feh hanging indefinitely in unattended slideshows. * feh hanging indefinitely in unattended slideshows.
*/ */
curl_easy_setopt(curl, CURLOPT_TIMEOUT, 1800); curl_easy_setopt(curl, CURLOPT_TIMEOUT, 1800);
curl_easy_setopt(curl, CURLOPT_URL, url); curl_easy_setopt(curl, CURLOPT_URL, url);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, sfp); curl_easy_setopt(curl, CURLOPT_WRITEDATA, sfp);
ebuff = emalloc(CURL_ERROR_SIZE); ebuff = emalloc(CURL_ERROR_SIZE);
curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, ebuff); curl_easy_setopt(curl, CURLOPT_ERRORBUFFER, ebuff);
curl_easy_setopt(curl, CURLOPT_USERAGENT, PACKAGE "/" VER SION);
curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1L); curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1L);
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1); curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
#if LIBCURL_VERSION_NUM >= 0x072000 /* 07.32.0 */ #if LIBCURL_VERSION_NUM >= 0x072000 /* 07.32.0 */
curl_easy_setopt(curl, CURLOPT_XFERINFOFUNCTION, curl_qui t_function); curl_easy_setopt(curl, CURLOPT_XFERINFOFUNCTION, curl_qui t_function);
#else #else
curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, curl_qui t_function); curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, curl_qui t_function);
#endif #endif
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0); curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0);
if (opt.insecure_ssl) { if (opt.insecure_ssl) {
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0) ; curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0) ;
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)