From ae60328b1c40d1d3c89b822cb0c5c62fde953674 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Thu, 16 Sep 2010 22:05:48 +0200 Subject: s4:libcli/resolve/file.c - fix "const" warning Signed-off-by: Andrew Bartlett --- source4/libcli/resolve/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/libcli/resolve/file.c b/source4/libcli/resolve/file.c index eb6407d0d7..349b2e1c13 100644 --- a/source4/libcli/resolve/file.c +++ b/source4/libcli/resolve/file.c @@ -58,7 +58,7 @@ struct composite_context *resolve_name_file_send(TALLOC_CTX *mem_ctx, struct resolve_file_state *state; struct sockaddr_storage *resolved_iplist; int resolved_count, i; - char *dns_name; + const char *dns_name; bool srv_lookup = (flags & RESOLVE_NAME_FLAG_DNS_SRV); -- cgit