From 972eeb55107070d1f5bb60675c0b164bde51e75c Mon Sep 17 00:00:00 2001 From: davidn Date: Sun, 5 Jan 1997 09:06:32 +0000 Subject: Fix typos pointed out by bde (thanks!). --- lib/libutil/login_auth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libutil/login_auth.c') diff --git a/lib/libutil/login_auth.c b/lib/libutil/login_auth.c index 38007b0..6e3b07d 100644 --- a/lib/libutil/login_auth.c +++ b/lib/libutil/login_auth.c @@ -21,7 +21,7 @@ * * Low-level routines relating to the user capabilities database * - * $Id$ + * $Id: login_auth.c,v 1.1 1997/01/04 16:49:59 davidn Exp $ */ #include @@ -152,8 +152,8 @@ collect_info(int fd) auth_info.env_count++; } } - } else if (strncasecmp(line, BI_REMOVE, STRSIZE(BI_REMOVE)) == 0) { - ptr = line + STRSIZE(BI_REMOVE); + } else if (strncasecmp(line, BI_REMOVE, STRSIZEOF(BI_REMOVE)) == 0) { + ptr = line + STRSIZEOF(BI_REMOVE); ptr += strspn(ptr, " \t"); if (*ptr) { char **tmp = realloc(auth_info.files, sizeof(char*) * (auth_info.file_count + 1)); -- cgit v1.1