summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-15 22:37:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:29:21 -0500
commitf0eaae956f37a0b25baf8fbfb8019b5b6c9e23a1 (patch)
treefffce7ae0dbae6d4f86c9e652af9f2e8cd0b1f9e /source4/lib/ldb/common
parentc8c023ea621bd926a515277f909a83206772670e (diff)
downloadsamba-f0eaae956f37a0b25baf8fbfb8019b5b6c9e23a1.tar.gz
samba-f0eaae956f37a0b25baf8fbfb8019b5b6c9e23a1.tar.bz2
samba-f0eaae956f37a0b25baf8fbfb8019b5b6c9e23a1.zip
r20192: I assume a 'break' is the correct thing to do here,
simo,tridge: please check this. found by the IBM checker metze (This used to be commit 5ac373c8b853d4527a095111253f3cb10522f5e8)
Diffstat (limited to 'source4/lib/ldb/common')
-rw-r--r--source4/lib/ldb/common/ldb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c
index b52cc8e301..7321f7a6f7 100644
--- a/source4/lib/ldb/common/ldb.c
+++ b/source4/lib/ldb/common/ldb.c
@@ -565,6 +565,7 @@ int ldb_search_default_callback(struct ldb_context *ldb, void *context, struct l
res->refs[n] = talloc_move(res->refs, &ares->referral);
res->refs[n + 1] = NULL;
+ break;
case LDB_REPLY_EXTENDED:
case LDB_REPLY_DONE:
/* TODO: we should really support controls on entries and referrals too! */