]> 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)
committerStefan Metzmacher <metze@samba.org>
Tue, 2 Nov 2021 21:52:16 +0000 (21:52 +0000)
commit7e8d2bcca98d58464cb30d0e8c9f9bc9604ff202
tree77d7e5486a24d0ad9fb23a3deb22bacdb5c1da30
parentf2c0ab2daed7598a51e09dcae7c69c98fbae9682
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>
(cherry picked from commit fa93339978040eab52b2722c1716028b48d8d084)
lib/ldb/common/ldb_match.c