From fe768c331533898989ae422d0b42a3ef9af3262e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sun, 1 Dec 2002 00:46:50 +0000 Subject: Fixup of ordered cleanup of get_dc_list - bug found by Dominik 'Aeneas' Schnitzer Jeremy. (This used to be commit 7ba051a830a7dc96e3860a87643a3ac99cdf5836) --- source3/libsmb/namequery.c | 37 ++++++++++--------------------------- 1 file changed, 10 insertions(+), 27 deletions(-) (limited to 'source3/libsmb') diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index 1c5af8bff0..6a59b73db2 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -1294,8 +1294,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