summaryrefslogtreecommitdiffstats
path: root/lib/libfetch/fetch.c
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-12-09 15:05:19 +0000
committerdes <des@FreeBSD.org>2001-12-09 15:05:19 +0000
commita9520ca9d77b610e2f10c5264c7615254dbb3e23 (patch)
tree2e0b054dfbc897bf794d519602be9269343d3bab /lib/libfetch/fetch.c
parentfcc97a61adfa5dac1098e5ae102eacff890bba85 (diff)
downloadFreeBSD-src-a9520ca9d77b610e2f10c5264c7615254dbb3e23.zip
FreeBSD-src-a9520ca9d77b610e2f10c5264c7615254dbb3e23.tar.gz
Introduce a fetchDebug global. Change the DEBUG macro so it only runs the
debugging code if fetchDebug is set. PR: bin/32615 MFC after: 1 week
Diffstat (limited to 'lib/libfetch/fetch.c')
-rw-r--r--lib/libfetch/fetch.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libfetch/fetch.c b/lib/libfetch/fetch.c
index b0b2057..9941ab5 100644
--- a/lib/libfetch/fetch.c
+++ b/lib/libfetch/fetch.c
@@ -45,6 +45,7 @@ int fetchLastErrCode;
char fetchLastErrString[MAXERRSTRING];
int fetchTimeout;
int fetchRestartCalls = 1;
+int fetchDebug;
/*** Local data **************************************************************/
OpenPOWER on IntegriCloud