1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Turn on libfetch debugging if -v was specified on the command line.

MFC after:	2 weeks
This commit is contained in:
Dag-Erling Smørgrav 2006-07-08 14:34:56 +00:00
parent 46f8d30f5a
commit ccbca788b3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=160178

View File

@ -111,6 +111,7 @@ fileGetURL(const char *base, const char *spec, int keep_package)
}
}
fetchDebug = (Verbose > 0);
if ((ftp = fetchGetURL(fname, Verbose ? "v" : NULL)) == NULL) {
printf("Error: FTP Unable to get %s: %s\n",
fname, fetchLastErrString);