diff options
author | Jeremy Allison <jra@samba.org> | 2007-04-13 22:42:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:19:20 -0500 |
commit | 91be3a9ed6e5f915d80ed7d78867b8513735e912 (patch) | |
tree | 837287935b98a643a63fcb63a5c020e7a446a518 | |
parent | c7d136dcac6fa1854f0115ccfd85ebcbb092c79a (diff) | |
download | samba-91be3a9ed6e5f915d80ed7d78867b8513735e912.tar.gz samba-91be3a9ed6e5f915d80ed7d78867b8513735e912.tar.bz2 samba-91be3a9ed6e5f915d80ed7d78867b8513735e912.zip |
r22210: Fix typo in testing for non-centry entries.
Jeremy.
(This used to be commit b89ecbcac651034d818a41d8a1d0c5e7313f37b8)
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index 6b9721a83b..cc98e79ee9 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -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) { |