summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-02-27 10:28:23 +0100
committerAndrew Bartlett <abartlet@samba.org>2014-03-07 02:18:17 +0100
commitf7883ae02a4e8935a44396f776712cebfd411e52 (patch)
tree3777f419ccc54f27f176a865403fbaad1bdbd352 /source4/smb_server
parenta571fe520d09a00273a58b1fb0fa9aab8e0aefce (diff)
downloadsamba-f7883ae02a4e8935a44396f776712cebfd411e52.tar.gz
s4:lib/socket: simplify iface_list_wildcard() and its callers
Bug: https://bugzilla.samba.org/show_bug.cgi?id=10464 Signed-off-by: Stefan Metzmacher <metze@samba.org> Change-Id: Ib317d71dea01fc8ef6b6a26455f15a8a175d59f6 Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Mar 7 02:18:17 CET 2014 on sn-devel-104
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/service_smb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/smb_server/service_smb.c b/source4/smb_server/service_smb.c
index 958792e8a79..0e4897c7358 100644
--- a/source4/smb_server/service_smb.c
+++ b/source4/smb_server/service_smb.c
@@ -63,9 +63,9 @@ static void smbsrv_task_init(struct task_server *task)
if (!NT_STATUS_IS_OK(status)) goto failed;
}
} else {
- const char **wcard;
+ char **wcard;
int i;
- wcard = iface_list_wildcard(task, task->lp_ctx);
+ wcard = iface_list_wildcard(task);
if (wcard == NULL) {
DEBUG(0,("No wildcard addresses available\n"));
goto failed;