commit | 86e0fc1739f139fd80153413f65db05d9d799cd8 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Apr 29 19:52:16 2014 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Tue Apr 29 19:52:16 2014 +0200 |
tree | e3c5d9883f58b86ea67201c07a2db7fab9c6f101 | |
parent | ed44649eb78a8ce5efc203f273c7df774defe2af [diff] |
BUG/MINOR: auth: fix wrong return type in pat_match_auth() Commit 5338eea ("MEDIUM: pattern: The match function browse itself the list or the tree") changed the return type of pattern matching functions. One enum was left over in pat_match_auth(). Fortunately, this one equals zero where a null pointer is expected, so it's cast correctly. This detected and reported by Charles Carter was introduced in 1.5-dev23, no backport is needed.