]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: auth: fix wrong return type in pat_match_auth()
authorWilly Tarreau <w@1wt.eu>
Tue, 29 Apr 2014 17:52:16 +0000 (19:52 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Apr 2014 17:52:16 +0000 (19:52 +0200)
commit86e0fc1739f139fd80153413f65db05d9d799cd8
treee3c5d9883f58b86ea67201c07a2db7fab9c6f101
parented44649eb78a8ce5efc203f273c7df774defe2af
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.
src/auth.c