diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-02-05 18:03:35 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-02-05 18:03:35 +0100 |
commit | ac1616c81a1b650551baf2e0c115fae44263caa7 (patch) | |
tree | 6b522525e14304225e3e3846853a53800cda1a05 /src | |
parent | 65f718fb58e5cfb2b74ec320a85197b2433f24cf (diff) |
Apply 02_changeset_r49_http_support_1.patch from Debian
Diffstat (limited to 'src')
-rw-r--r-- | src/imlib.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/imlib.c b/src/imlib.c index fc4dcf0..a217da3 100644 --- a/src/imlib.c +++ b/src/imlib.c @@ -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:"); } |