mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
Fix typos pointed out by bde (thanks!).
This commit is contained in:
parent
f1d684fad9
commit
5023ac7251
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=21332
@ -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 <sys/types.h>
|
||||
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user