strncasecmp headers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5546 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user