diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/libsmb/namequery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c index 3eae347068..4c05e4f418 100644 --- a/source3/libsmb/namequery.c +++ b/source3/libsmb/namequery.c @@ -2491,7 +2491,7 @@ static NTSTATUS resolve_ads(const char *name, *return_count = 0; - while ( i < numdcs && (*return_count<numaddrs) ) { + for (i = 0; i < numdcs && (*return_count<numaddrs); i++ ) { /* If we don't have an IP list for a name, lookup it up */ if (!dcs[i].ss_s) { /* We need to get all IP addresses here. */ |