projects
/
browser-switch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Force continuous_mode on on Fremantle
[browser-switch]
/
main.c
diff --git
a/main.c
b/main.c
index
40823e3
..
568732d
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-49,7
+49,14
@@
static void read_config(int signalnum) {
swb_config_load(&cfg);
log_config(cfg.logging);
swb_config_load(&cfg);
log_config(cfg.logging);
+#ifdef FREMANTLE
+ /* continuous mode is required on Fremantle */
+ ctx.continuous_mode = 1;
+ if (!cfg.continuous_mode)
+ log_msg("WARNING: continuous_mode = 0 operation no longer supported, ignoring config setting");
+#else
ctx.continuous_mode = cfg.continuous_mode;
ctx.continuous_mode = cfg.continuous_mode;
+#endif
free(ctx.other_browser_cmd);
if (cfg.other_browser_cmd) {
if (!(ctx.other_browser_cmd = strdup(cfg.other_browser_cmd))) {
free(ctx.other_browser_cmd);
if (cfg.other_browser_cmd) {
if (!(ctx.other_browser_cmd = strdup(cfg.other_browser_cmd))) {