-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all, this small patchfile allow ecore_file_download to be able to
follow HTTP redirection. It works for me.
Also filled a bug in bugzilla, bug id #323.

Ciao
Massimiliano
- -- 
Massimiliano Calamelli
http://mcalamelli.netsons.org
[EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)

iD8DBQFHXQrdleGEL56NNP4RAjK5AKDxu4oIch0OJBkuI1WlcWJLnC8HmgCgnWQk
I1IruvvTn+nzUWoEe6nGNtQ=
=GyLU
-----END PGP SIGNATURE-----
Index: ecore_file_download.c
===================================================================
RCS file: /var/cvs/e/e17/libs/ecore/src/lib/ecore_file/ecore_file_download.c,v
retrieving revision 1.17
diff -u -r1.17 ecore_file_download.c
--- ecore_file_download.c       7 Nov 2007 21:15:11 -0000       1.17
+++ ecore_file_download.c       10 Dec 2007 09:34:47 -0000
@@ -244,6 +244,7 @@
 
    curl_easy_setopt(job->curl, CURLOPT_URL, url);
    curl_easy_setopt(job->curl, CURLOPT_WRITEDATA, job->file);
+   curl_easy_setopt(job->curl, CURLOPT_FOLLOWLOCATION, TRUE);
 
    if (progress_cb)
      {
-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to