svn commit: samba r20369 - in branches/SAMBA_4_0/source/torture/rpc: .

abartlet at samba.org abartlet at samba.org
Wed Dec 27 23:54:41 GMT 2006


Author: abartlet
Date: 2006-12-27 23:54:40 +0000 (Wed, 27 Dec 2006)
New Revision: 20369

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

Log:
Remember to break if we find a match.

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/torture/rpc/drsuapi.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/drsuapi.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/drsuapi.c	2006-12-27 23:52:47 UTC (rev 20368)
+++ branches/SAMBA_4_0/source/torture/rpc/drsuapi.c	2006-12-27 23:54:40 UTC (rev 20369)
@@ -5,7 +5,7 @@
 
    Copyright (C) Andrew Tridgell 2003
    Copyright (C) Stefan (metze) Metzmacher 2004
-   Copyright (C) Andrew Bartlett <abartlet at samba.org> 2005
+   Copyright (C) Andrew Bartlett <abartlet at samba.org> 2005-2006
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -152,6 +152,7 @@
 					if (strcasecmp_m(r.out.ctr.ctr2.array[k].netbios_name, 
 							 torture_join_netbios_name(priv->join))) {
 						found = True;
+						break;
 					}
 				}
 				break;
@@ -204,6 +205,7 @@
 			if (strcasecmp_m(r.out.ctr.ctr01.array[k].client_account, 
 					 dc_account)) {
 				found = True;
+				break;
 			}
 		}
 		if (!found) {



More information about the samba-cvs mailing list