summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormorganamilo <morganamilo@gmail.com>2018-09-10 23:41:07 +0200
committerAndrew Gregory <andrew@archlinux.org>2018-11-19 02:25:18 +0100
commit5e81518ecb4ba9c8b7231e9b627f45d3abb19ce3 (patch)
treed0bfffb9cdb5168ef86c5ffc5a6cb99b6d61d554
parent7e081d2adf8321f25165255fd21fab61d4055a53 (diff)
downloadpacman-5e81518ecb4ba9c8b7231e9b627f45d3abb19ce3.tar.gz
pacman-5e81518ecb4ba9c8b7231e9b627f45d3abb19ce3.tar.xz
pacman-conf: add missing DisableDownloadTimeout
Signed-off-by: morganamilo <morganamilo@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org> (cherry picked from commit 62eef5bbdb025d9557a1609760b42d7fbac16ad2)
-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);