summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-09-16 22:05:48 +0200
committerAndrew Bartlett <abartlet@samba.org>2010-09-24 09:25:41 +1000
commitae60328b1c40d1d3c89b822cb0c5c62fde953674 (patch)
tree202e0d2a3a73556c1a84ac8ee7b7ccfd9d173165
parent8ba3eacf6b8ef4e6e681d4626b1efd99b04eca33 (diff)
downloadsamba-ae60328b1c40d1d3c89b822cb0c5c62fde953674.tar.gz
samba-ae60328b1c40d1d3c89b822cb0c5c62fde953674.tar.bz2
samba-ae60328b1c40d1d3c89b822cb0c5c62fde953674.zip
s4:libcli/resolve/file.c - fix "const" warning
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source4/libcli/resolve/file.c2
1 files changed, 1 insertions, 1 deletions
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);