summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-11-26 09:28:00 +0000
committerAndrew Tridgell <tridge@samba.org>2001-11-26 09:28:00 +0000
commitdf81a6ec23b9eebcf544b23d6028fe9469234818 (patch)
tree6fedef0c9a1e4f98db6f407a791c8a8b53045f83
parentfc93f4f403a5160a4bd0e365b2312f32198598c8 (diff)
downloadsamba-df81a6ec23b9eebcf544b23d6028fe9469234818.tar.gz
samba-df81a6ec23b9eebcf544b23d6028fe9469234818.tar.bz2
samba-df81a6ec23b9eebcf544b23d6028fe9469234818.zip
increment the value not the pointer
(This used to be commit e3698259afa79fcd318592b1d628803695406337)
-rw-r--r--source3/libsmb/namequery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index dff3570842..e9b1116d07 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -1218,7 +1218,7 @@ BOOL get_dc_list(BOOL pdc_only, char *group, struct in_addr **ip_list, int *coun
struct in_addr name_ip;
if (resolve_name( name, &name_ip, 0x20) == False)
continue;
- return_iplist[*count++] = name_ip;
+ return_iplist[(*count)++] = name_ip;
}
*ip_list = return_iplist;
return (*count != 0);