summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2003-04-17 03:51:06 +0000
committerrwatson <rwatson@FreeBSD.org>2003-04-17 03:51:06 +0000
commit572cb42cc2584af4d4704b199c21e92a48d4b8af (patch)
tree6fc706768a59961d85ece4f8621caa2a94fb61f8 /usr.sbin/pkg_install
parente5cf68121b9b3a4145cd377e16f7f07720b55640 (diff)
downloadFreeBSD-src-572cb42cc2584af4d4704b199c21e92a48d4b8af.zip
FreeBSD-src-572cb42cc2584af4d4704b199c21e92a48d4b8af.tar.gz
Revert url.c:1.2: there was a race condition between when I produced
the fix and when I committed it -- in between the two, DES committed a different fix, rendering this fix unneeded. Requested by: des
Diffstat (limited to 'usr.sbin/pkg_install')
-rw-r--r--usr.sbin/pkg_install/lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/lib/url.c b/usr.sbin/pkg_install/lib/url.c
index f43e464..5ee33f3 100644
--- a/usr.sbin/pkg_install/lib/url.c
+++ b/usr.sbin/pkg_install/lib/url.c
@@ -89,7 +89,7 @@ fileGetURL(const char *base, const char *spec)
else
strcpy(fname, spec);
- if ((ftp = fetchGetURL(fname, Verbose ? "v" : "")) == NULL) {
+ if ((ftp = fetchGetURL(fname, Verbose ? "v" : NULL)) == NULL) {
printf("Error: FTP Unable to get %s: %s\n",
fname, fetchLastErrString);
return NULL;
OpenPOWER on IntegriCloud