commit | 348238b3a9a48fd9e7be19cfccae56d1bb44cf46 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Jan 18 15:05:57 2010 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jan 18 19:51:39 2010 +0100 |
tree | 5ebb4870d1d0b8b7a2b34cfe3d6ca2fc983d8acd | |
parent | 68085d8cfb7e8d8a18aa99caf5446a91bbed4e3a [diff] |
[MINOR] tools: add a "word_match()" function to match words and ignore spaces Some header values might be delimited with spaces, so it's not enough to compare "close" or "keep-alive" with strncasecmp(). Use word_match() for that.