summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2019-05-27 00:27:10 -0600
committerEduardo Chappa <chappa@washington.edu>2019-05-27 00:27:10 -0600
commitb5d82108552f45e6ccd38677a00fcfd9b41c1021 (patch)
tree9af8a30b721f56998c132e7707f9088213d14ce9
parentc8bfd7a68f94f69d4a59263656f3975eab97fefa (diff)
downloadalpine-b5d82108552f45e6ccd38677a00fcfd9b41c1021.tar.xz
* make sure that Password file saving option matches list of
options.
-rw-r--r--pith/conf.c2
-rw-r--r--pith/conftype.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/pith/conf.c b/pith/conf.c
index 3742e9a..4961f3e 100644
--- a/pith/conf.c
+++ b/pith/conf.c
@@ -3120,7 +3120,7 @@ feature_list(int index)
{"disable-password-file-saving", NULL,
F_DISABLE_PASSWORD_FILE_SAVING, h_config_disable_password_file_saving,
PREF_MISC, 0},
-#endif
+#endif /* PASSFILE */
{"disable-regular-expression-matching-for-alternate-addresses", NULL,
F_DISABLE_REGEX, h_config_disable_regex, PREF_MISC, 0},
{"disable-save-input-history", NULL,
diff --git a/pith/conftype.h b/pith/conftype.h
index bfb337c..6debdb7 100644
--- a/pith/conftype.h
+++ b/pith/conftype.h
@@ -359,7 +359,9 @@ typedef enum {
F_AUTO_INCLUDE_IN_REPLY,
F_DISABLE_CONFIG_SCREEN,
F_DISABLE_PASSWORD_CACHING,
+#ifdef PASSFILE
F_DISABLE_PASSWORD_FILE_SAVING,
+#endif /* PASSFILE */
F_DISABLE_REGEX,
F_DISABLE_PASSWORD_CMD,
F_DISABLE_UPDATE_CMD,