diff options
author | Daniel Friesel <derf@finalrewind.org> | 2020-03-30 19:23:11 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2020-03-30 19:23:11 +0200 |
commit | a461f578e7122e1fe587892ed08ab1a364fe23b1 (patch) | |
tree | 9f2d0f07cfac24040d28ae128fcbb5dd0e6d8529 /src/options.c | |
parent | d2311c2332722ac0401e3441d9834c8b02491a82 (diff) |
Enable HTTP cache by default
Diffstat (limited to 'src/options.c')
-rw-r--r-- | src/options.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c index 98b3eed..eb0fbe5 100644 --- a/src/options.c +++ b/src/options.c @@ -76,6 +76,7 @@ void init_parse_options(int argc, char **argv) #ifdef HAVE_INOTIFY opt.auto_reload = 1; #endif /* HAVE_INOTIFY */ + opt.use_http_cache = 1; feh_getopt_theme(argc, argv); @@ -431,7 +432,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) {"auto-reload" , 0, 0, 248}, #endif {"class" , 1, 0, 249}, - {"use-http-cache", 0, 0, 250}, + {"no-conversion-cache", 0, 0, 250}, {0, 0, 0, 0} }; int optch = 0, cmdx = 0; @@ -524,6 +525,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) break; case 'R': opt.reload = atof(optarg); + opt.use_http_cache = 0; #ifdef HAVE_INOTIFY opt.auto_reload = 0; #endif @@ -829,7 +831,7 @@ static void feh_parse_option_array(int argc, char **argv, int finalrun) opt.x11_class = estrdup(optarg); break; case 250: - opt.use_http_cache = 1; + opt.use_http_cache = 0; break; default: break; |