diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index 1c5af8bff0f..6a59b73db25 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