diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-12-27 23:54:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:30:18 -0500 |
commit | d0bc792dba8d4ae1da92abfeca5fb4be5a23b909 (patch) | |
tree | c8abee3b34e29514577c4e427dcf765537df77b9 /source4/torture | |
parent | bb6c6945e41aef051993ea9b4e1d3a3cce14a3c8 (diff) | |
download | samba-d0bc792dba8d4ae1da92abfeca5fb4be5a23b909.tar.gz samba-d0bc792dba8d4ae1da92abfeca5fb4be5a23b909.tar.bz2 samba-d0bc792dba8d4ae1da92abfeca5fb4be5a23b909.zip |
r20369: Remember to break if we find a match.
Andrew Bartlett
(This used to be commit 4bd8dbcf41f04be28e2f5d6e15a22f08ba80b948)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/drsuapi.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/rpc/drsuapi.c b/source4/torture/rpc/drsuapi.c index 9a306e7392..ed4bc1b175 100644 --- a/source4/torture/rpc/drsuapi.c +++ b/source4/torture/rpc/drsuapi.c @@ -5,7 +5,7 @@ Copyright (C) Andrew Tridgell 2003 Copyright (C) Stefan (metze) Metzmacher 2004 - Copyright (C) Andrew Bartlett <abartlet@samba.org> 2005 + Copyright (C) Andrew Bartlett <abartlet@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 @@ static BOOL test_DsGetDomainControllerInfo(struct dcerpc_pipe *p, TALLOC_CTX *me 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 @@ static BOOL test_DsGetDomainControllerInfo(struct dcerpc_pipe *p, TALLOC_CTX *me if (strcasecmp_m(r.out.ctr.ctr01.array[k].client_account, dc_account)) { found = True; + break; } } if (!found) { |