diff options
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:"); } |