From 5240a1d32b08e445560683beda008cb62d37fb6d Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Wed, 24 Apr 1996 07:35:52 +0000 Subject: [PATCH] MaxPathLen git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@429 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/getusershell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/roken/getusershell.c b/lib/roken/getusershell.c index ff696a03d..02dae9445 100644 --- a/lib/roken/getusershell.c +++ b/lib/roken/getusershell.c @@ -132,7 +132,7 @@ initshells() } sp = shells; cp = strings; - while (fgets(cp, MAXPATHLEN + 1, fp) != NULL) { + while (fgets(cp, MaxPathLen + 1, fp) != NULL) { while (*cp != '#' && *cp != '/' && *cp != '\0') cp++; if (*cp == '#' || *cp == '\0')