strncasecmp headers

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5546 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-03-15 17:26:10 +00:00
parent fedbc7b7a7
commit ba1f84a42d

View File

@@ -292,7 +292,7 @@ doit(int s,
if (state == TOP) {
char *copy = beg;
if (strncmp(copy,
if (strncasecmp(copy,
header_str,
min(p - copy + 1, strlen(header_str))) == 0) {
fprintf (stdout, "%.*s\n", (int)(p - copy), copy);