]> git.ipfire.org Git - thirdparty/samba.git/commit
ldb_match: remove redundant check
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Wed, 3 Mar 2021 06:54:37 +0000 (19:54 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 10 Mar 2021 08:42:33 +0000 (08:42 +0000)
commitfa93339978040eab52b2722c1716028b48d8d084
tree6c373a27911e5b27b9ab574f4fc5988cd975a9f7
parent33a95a1e75b85e9795c4490b78ead2162e2a1f47
ldb_match: remove redundant check

We already ensure the no-trailing-asterisk case ends at the end of the
string.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14044

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Björn Jacke <bjacke@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/common/ldb_match.c