]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r22210: Fix typo in testing for non-centry entries.
authorJeremy Allison <jra@samba.org>
Fri, 13 Apr 2007 22:42:21 +0000 (22:42 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:19:20 +0000 (12:19 -0500)
Jeremy.

source/nsswitch/winbindd_cache.c

index 6b9721a83b930bf52ec2e9efd3b679b9ef325050..cc98e79ee9701994571280793a99dfad67ab0123 100644 (file)
@@ -66,7 +66,7 @@ static BOOL is_non_centry_key(TDB_DATA kbuf)
        }
        for (i = 0; non_centry_keys[i] != NULL; i++) {
                size_t namelen = strlen(non_centry_keys[i]);
-               if (kbuf.dsize <= namelen) {
+               if (kbuf.dsize < namelen) {
                        continue;
                }
                if (strncmp(non_centry_keys[i], (const char *)kbuf.dptr, namelen) == 0) {