svn commit: samba r20192 - in branches/SAMBA_4_0/source/lib/ldb/common: .

metze at samba.org metze at samba.org
Fri Dec 15 22:37:06 GMT 2006


Author: metze
Date: 2006-12-15 22:37:06 +0000 (Fri, 15 Dec 2006)
New Revision: 20192

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20192

Log:
I assume a 'break' is the correct thing to do here,

simo,tridge: please check this.

found by the IBM checker

metze
Modified:
   branches/SAMBA_4_0/source/lib/ldb/common/ldb.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb.c	2006-12-15 22:00:56 UTC (rev 20191)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb.c	2006-12-15 22:37:06 UTC (rev 20192)
@@ -565,6 +565,7 @@
 
 		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! */



More information about the samba-cvs mailing list