diff options
author | Volker Lendecke <vl@samba.org> | 2011-02-27 09:57:18 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-02-27 11:02:53 +0100 |
commit | fec0baacb658eb1bfc15c8ca4dfeecc1cf84eb79 (patch) | |
tree | 93055e96b9d02adf9804c69a25f35c0dcf4067b4 /source3/libsmb/namequery_dc.c | |
parent | 561205b0166cb4a9c2efbb32b8429f6a83827eee (diff) | |
download | samba-fec0baacb658eb1bfc15c8ca4dfeecc1cf84eb79.tar.gz samba-fec0baacb658eb1bfc15c8ca4dfeecc1cf84eb79.tar.xz samba-fec0baacb658eb1bfc15c8ca4dfeecc1cf84eb79.zip |
s3: Make is_zero_addr take a sockaddr_storage
All callers had to cast this anyway
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Feb 27 11:02:53 CET 2011 on sn-devel-104
Diffstat (limited to 'source3/libsmb/namequery_dc.c')
-rw-r--r-- | source3/libsmb/namequery_dc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/namequery_dc.c b/source3/libsmb/namequery_dc.c index 23850e3e9f..39b780c611 100644 --- a/source3/libsmb/namequery_dc.c +++ b/source3/libsmb/namequery_dc.c @@ -176,7 +176,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((struct sockaddr *)&ip_list[i].ss)) + if (is_zero_addr(&ip_list[i].ss)) continue; if (name_status_find(domain, 0x1c, 0x20, &ip_list[i].ss, srv_name)) { |