diff options
Diffstat (limited to 'contrib/unbound/libunbound/context.h')
-rw-r--r-- | contrib/unbound/libunbound/context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/unbound/libunbound/context.h b/contrib/unbound/libunbound/context.h index 8898f3e..743178b 100644 --- a/contrib/unbound/libunbound/context.h +++ b/contrib/unbound/libunbound/context.h @@ -234,8 +234,8 @@ 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, - int rrclass, ub_callback_t cb, void* cbarg); +struct ctx_query* context_new(struct ub_ctx* ctx, const char* name, + int rrtype, int rrclass, ub_callback_t cb, void* cbarg); /** * Get a new alloc. Creates a new one or uses a cached one. |