From 80c395aef44785497387d8c41eb767efa435bf3e Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 25 Apr 2011 18:29:59 +0200 Subject: s3: Remove unused code This is done in name_query_send these days Autobuild-User: Volker Lendecke Autobuild-Date: Mon Apr 25 19:24:58 CEST 2011 on sn-devel-104 --- source3/libsmb/namequery.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source3/libsmb') 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. -- cgit