diff options
Diffstat (limited to 'src/settings.c')
-rw-r--r-- | src/settings.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/settings.c b/src/settings.c index 54edba9..51c2400 100644 --- a/src/settings.c +++ b/src/settings.c @@ -121,6 +121,7 @@ void BarSettingsRead (BarSettings_t *settings) { #endif #endif settings->autoselect = true; + settings->forceTls = false; settings->history = 5; settings->volume = 0; settings->sortOrder = BAR_SORT_NAME_AZ; @@ -245,6 +246,8 @@ void BarSettingsRead (BarSettings_t *settings) { settings->fifo = strdup (val); } else if (streq ("autoselect", key)) { settings->autoselect = atoi (val); + } else if (streq ("force_tls", key)) { + settings->forceTls = atoi (val); } else if (streq ("tls_fingerprint", key)) { /* expects 40 byte hex-encoded sha1 */ if (strlen (val) == 40) { |