diff options
author | rwatson <rwatson@FreeBSD.org> | 2003-04-17 03:51:06 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2003-04-17 03:51:06 +0000 |
commit | 572cb42cc2584af4d4704b199c21e92a48d4b8af (patch) | |
tree | 6fc706768a59961d85ece4f8621caa2a94fb61f8 | |
parent | e5cf68121b9b3a4145cd377e16f7f07720b55640 (diff) | |
download | FreeBSD-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
-rw-r--r-- | usr.sbin/pkg_install/lib/url.c | 2 |
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; |