Commit ac1616c8 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Apply 02_changeset_r49_http_support_1.patch from Debian

parent 65f718fb
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
Sat Oct  1 07:25:00 EDT 2005  Richard Lowe <richlowe@richlowe.net>
  * (imlib.c): Fix http grabbing via wget, wget --cache 0 is no longer valid
               and treats the 0 as another URL.  Debian bug #330912.
	           I view this as wget's fault, I'm sure others won't, however.
  * (imlib.c): Tidy up a minor bit of bothersome logic while there.

Fri Aug 05 17:29:55 BST 2005  Tom Gilbert <tom@linuxbrit.co.uk>

  * Patch from Matthias Drochner to fix compilation on older systems.
+2 −6
Original line number Diff line number Diff line
@@ -289,10 +289,6 @@ feh_http_load_image(char *url)
      snprintf(cppid, sizeof(cppid), "%06ld", (long)ppid);
      tmpname_timestamper =
         estrjoin("", "/tmp/feh_", cppid, "_", basename, NULL);
   }

   if (opt.wget_timestamp)
   {
      newurl = estrdup(url);
   }
   else
@@ -548,8 +544,8 @@ feh_http_load_image(char *url)
         }
         else
         {
            execlp("wget", "wget", "--cache", "0", newurl, "-O", tmpname,
                   quiet, (char*) NULL);
            execlp("wget", "wget", "--cache=off", "-O", tmpname, newurl,
               quiet, NULL);
         }
         eprintf("url: exec failed: wget:");
      }