summaryrefslogtreecommitdiff
path: root/source3/libsmb/namequery_dc.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-23 20:50:59 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-23 20:50:59 +0200
commit215b84903ed202e69241d9fd9494fdc95e911efc (patch)
treeadb66c63498eb1c3e2e165684a123207c9d5c5d3 /source3/libsmb/namequery_dc.c
parent09065795d6e5c48a8b3b536224552f18d68cfb84 (diff)
parent7577d9ebf06fcdb630b2cdaab8772a6da9e37b70 (diff)
downloadsamba-215b84903ed202e69241d9fd9494fdc95e911efc.tar.gz
samba-215b84903ed202e69241d9fd9494fdc95e911efc.tar.bz2
samba-215b84903ed202e69241d9fd9494fdc95e911efc.zip
Merge branch 'master' of git://git.samba.org/samba
Diffstat (limited to 'source3/libsmb/namequery_dc.c')
-rw-r--r--source3/libsmb/namequery_dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery_dc.c b/source3/libsmb/namequery_dc.c
index d080f8f0b7..306f720a02 100644
--- a/source3/libsmb/namequery_dc.c
+++ b/source3/libsmb/namequery_dc.c
@@ -171,7 +171,7 @@ static bool rpc_dc_name(const char *domain,
/* Remove the entry we've already failed with (should be the PDC). */
for (i = 0; i < count; i++) {
- if (is_zero_addr(&ip_list[i].ss))
+ if (is_zero_addr((struct sockaddr *)&ip_list[i].ss))
continue;
if (name_status_find(domain, 0x1c, 0x20, &ip_list[i].ss, srv_name)) {