summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormorganamilo <morganamilo@gmail.com>2018-09-10 22:41:07 +0100
committerAllan McRae <allan@archlinux.org>2018-09-18 10:38:23 +1000
commit62eef5bbdb025d9557a1609760b42d7fbac16ad2 (patch)
treedf0e44cd4110be578f55b78f7711df80ea22fad6
parent5b2ff51c399a906fd70df62ca179e2a696ea3860 (diff)
downloadpacman-62eef5bbdb025d9557a1609760b42d7fbac16ad2.tar.xz
pacman-conf: add missing DisableDownloadTimeout
Signed-off-by: morganamilo <morganamilo@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
-rw-r--r--src/pacman/pacman-conf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pacman/pacman-conf.c b/src/pacman/pacman-conf.c
index baa72d97..56196f79 100644
--- a/src/pacman/pacman-conf.c
+++ b/src/pacman/pacman-conf.c
@@ -266,6 +266,7 @@ static void dump_config(void)
show_bool("TotalDownload", config->totaldownload);
show_bool("CheckSpace", config->checkspace);
show_bool("VerbosePkgLists", config->verbosepkglists);
+ show_bool("DisableDownloadTimeout", config->disable_dl_timeout);
show_bool("ILoveCandy", config->chomp);
show_float("UseDelta", config->deltaratio);
@@ -376,6 +377,8 @@ static int list_directives(void)
show_bool("CheckSpace", config->checkspace);
} else if(strcasecmp(i->data, "VerbosePkgLists") == 0) {
show_bool("VerbosePkgLists", config->verbosepkglists);
+ } else if(strcasecmp(i->data, "DisableDownloadTimeout") == 0) {
+ show_bool("DisableDownloadTimeout", config->disable_dl_timeout);
} else if(strcasecmp(i->data, "UseDelta") == 0) {
show_float("UseDelta", config->deltaratio);