summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/index.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-05-23 16:34:30 +0000
committerjkh <jkh@FreeBSD.org>1996-05-23 16:34:30 +0000
commita6d22d5527b448bae8f777f96f703f4c78759ae4 (patch)
treee16e118dfbf61572d55eb479473237b41f776011 /usr.sbin/sysinstall/index.c
parente7580e953680afd240217d7e4591e5de26317b24 (diff)
downloadFreeBSD-src-a6d22d5527b448bae8f777f96f703f4c78759ae4.zip
FreeBSD-src-a6d22d5527b448bae8f777f96f703f4c78759ae4.tar.gz
Have both distribution and package extraction screens display the
transfer speed in KB/sec while fetching stuff; this gives you a better idea if your link has crashed or is behaving oddly.
Diffstat (limited to 'usr.sbin/sysinstall/index.c')
-rw-r--r--usr.sbin/sysinstall/index.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c
index 2ca5a1b..af5214f 100644
--- a/usr.sbin/sysinstall/index.c
+++ b/usr.sbin/sysinstall/index.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: index.c,v 1.28 1996/05/01 09:31:50 jkh Exp $
+ * $Id: index.c,v 1.29 1996/05/16 11:47:29 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -518,7 +518,7 @@ index_extract(Device *dev, PkgNodePtr top, PkgNodePtr plist)
PkgNodePtr tmp;
int status = DITEM_SUCCESS;
- for (tmp = plist->kids; tmp; tmp = tmp->next)
+ for (tmp = plist->kids; tmp && tmp->name; tmp = tmp->next)
status = index_extract_one(dev, top, tmp, FALSE);
return status;
}
OpenPOWER on IntegriCloud