summaryrefslogtreecommitdiff
path: root/libunbound/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'libunbound/context.h')
-rw-r--r--libunbound/context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libunbound/context.h b/libunbound/context.h
index 8898f3ebfdf9..23db869ac751 100644
--- a/libunbound/context.h
+++ b/libunbound/context.h
@@ -234,7 +234,7 @@ void context_query_delete(struct ctx_query* q);
* @param cbarg: user arg for async queries.
* @return new ctx_query or NULL for malloc failure.
*/
-struct ctx_query* context_new(struct ub_ctx* ctx, char* name, int rrtype,
+struct ctx_query* context_new(struct ub_ctx* ctx, const char* name, int rrtype,
int rrclass, ub_callback_t cb, void* cbarg);
/**