summaryrefslogtreecommitdiff
path: root/source4/libcli/resolve
diff options
context:
space:
mode:
Diffstat (limited to 'source4/libcli/resolve')
-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);