From d047db2807f8b8174cbb1cca9a835176056183cf Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sun, 1 Dec 2002 00:45:07 +0000 Subject: Fixup of ordered cleanup of get_dc_list - bug found by Dominik 'Aeneas' Schnitzer Jeremy. (This used to be commit 15185ac437a6a0f53711bef035879173dbb492c6) --- source3/libsmb/namequery.c | 37 ++++++++++--------------------------- 1 file changed, 10 insertions(+), 27 deletions(-) (limited to 'source3') diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index 6190c872ee..e6fe88f203 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -1296,8 +1296,7 @@ BOOL get_dc_list(const char *domain, struct in_addr **ip_list, int *count, int * /* fill in the return list now with real IP's */ - while ( (local_count