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

MFC after:	2 weeks
This commit is contained in:
des 2006-07-08 14:34:56 +00:00
parent 42f2307385
commit 9f0e376ac7

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);