From f0eaae956f37a0b25baf8fbfb8019b5b6c9e23a1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 15 Dec 2006 22:37:06 +0000 Subject: 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) --- source4/lib/ldb/common/ldb.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/lib/ldb/common/ldb.c') 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! */ -- cgit