From 91be3a9ed6e5f915d80ed7d78867b8513735e912 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 13 Apr 2007 22:42:21 +0000 Subject: r22210: Fix typo in testing for non-centry entries. Jeremy. (This used to be commit b89ecbcac651034d818a41d8a1d0c5e7313f37b8) --- source3/nsswitch/winbindd_cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch/winbindd_cache.c') 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) { -- cgit