summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pkg_install/lib/plist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_install/lib/plist.c b/usr.sbin/pkg_install/lib/plist.c
index eb8dee8..a0a2fa5 100644
--- a/usr.sbin/pkg_install/lib/plist.c
+++ b/usr.sbin/pkg_install/lib/plist.c
@@ -1,5 +1,5 @@
#ifndef lint
-static const char *rcsid = "$Id: plist.c,v 1.5 1993/09/18 03:39:50 jkh Exp $";
+static const char *rcsid = "$Id: plist.c,v 1.6 1994/05/25 06:27:24 jkh Exp $";
#endif
/*
@@ -214,7 +214,7 @@ read_plist(Package *pkg, FILE *fp)
while (isspace(pline[len]))
pline[len--] = '\0';
- if (!len)
+ if (len <= 0)
continue;
cp = pline;
if (pline[0] == CMD_CHAR) {
OpenPOWER on IntegriCloud