summaryrefslogtreecommitdiff
path: root/libunbound/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'libunbound/context.c')
-rw-r--r--libunbound/context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libunbound/context.c b/libunbound/context.c
index f28307971b4d3..18f34e4541436 100644
--- a/libunbound/context.c
+++ b/libunbound/context.c
@@ -124,7 +124,7 @@ find_id(struct ub_ctx* ctx, int* id)
}
struct ctx_query*
-context_new(struct ub_ctx* ctx, char* name, int rrtype, int rrclass,
+context_new(struct ub_ctx* ctx, const char* name, int rrtype, int rrclass,
ub_callback_t cb, void* cbarg)
{
struct ctx_query* q = (struct ctx_query*)calloc(1, sizeof(*q));