summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-04-25 18:29:59 +0200
committerVolker Lendecke <vlendec@samba.org>2011-04-25 19:24:58 +0200
commit80c395aef44785497387d8c41eb767efa435bf3e (patch)
tree06fca23c22f038be5061140f0c77458c5051c240
parenta3d35ac44b53b8a79eac5c927ff771c1c6ceec12 (diff)
downloadsamba-80c395aef44785497387d8c41eb767efa435bf3e.tar.gz
samba-80c395aef44785497387d8c41eb767efa435bf3e.tar.bz2
samba-80c395aef44785497387d8c41eb767efa435bf3e.zip
s3: Remove unused code
This is done in name_query_send these days Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Apr 25 19:24:58 CEST 2011 on sn-devel-104
-rw-r--r--source3/libsmb/namequery.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/libsmb/namequery.c b/source3/libsmb/namequery.c
index 9489878ce4..752b4b1eb9 100644
--- a/source3/libsmb/namequery.c
+++ b/source3/libsmb/namequery.c
@@ -1494,7 +1494,6 @@ NTSTATUS name_resolve_bcast(const char *name,
int i;
int num_interfaces = iface_count();
struct sockaddr_storage *ss_list;
- struct sockaddr_storage ss;
NTSTATUS status = NT_STATUS_NOT_FOUND;
if (lp_disable_netbios()) {
@@ -1513,11 +1512,6 @@ NTSTATUS name_resolve_bcast(const char *name,
DEBUG(3,("name_resolve_bcast: Attempting broadcast lookup "
"for name %s<0x%x>\n", name, name_type));
- if (!interpret_string_addr(&ss, lp_socket_address(),
- AI_NUMERICHOST|AI_PASSIVE)) {
- zero_sockaddr(&ss);
- }
-
/*
* Lookup the name on all the interfaces, return on
* the first successful match.