diff options
author | des <des@FreeBSD.org> | 2001-12-09 15:05:19 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2001-12-09 15:05:19 +0000 |
commit | a9520ca9d77b610e2f10c5264c7615254dbb3e23 (patch) | |
tree | 2e0b054dfbc897bf794d519602be9269343d3bab /lib/libfetch/fetch.h | |
parent | fcc97a61adfa5dac1098e5ae102eacff890bba85 (diff) | |
download | FreeBSD-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.h')
-rw-r--r-- | lib/libfetch/fetch.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libfetch/fetch.h b/lib/libfetch/fetch.h index cca0d1f..3899cca 100644 --- a/lib/libfetch/fetch.h +++ b/lib/libfetch/fetch.h @@ -136,4 +136,7 @@ extern char fetchLastErrString[MAXERRSTRING]; extern int fetchTimeout; extern int fetchRestartCalls; +/* Extra verbosity */ +extern int fetchDebug; + #endif |