From 81bc7bd7bf17a5745e45a2d35bf004e9c04dfba8 Mon Sep 17 00:00:00 2001 From: Simon Laux Date: Fri, 1 Jul 2022 16:27:15 +0200 Subject: [PATCH] Update deltachat-ffi/deltachat.h Co-authored-by: bjoern --- deltachat-ffi/deltachat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deltachat-ffi/deltachat.h b/deltachat-ffi/deltachat.h index d9de3fc7e..aec8d9c1c 100644 --- a/deltachat-ffi/deltachat.h +++ b/deltachat-ffi/deltachat.h @@ -5214,7 +5214,7 @@ void dc_jsonrpc_unref(dc_jsonrpc_instance_t* jsonrpc_instance); * @param jsonrpc_instance jsonrpc instance as returned from dc_jsonrpc_init(). * @param request JSON-RPC request as string */ -void dc_jsonrpc_request(dc_jsonrpc_instance_t* jsonrpc_instance, char* request); +void dc_jsonrpc_request(dc_jsonrpc_instance_t* jsonrpc_instance, const char* request); /** * Get the next json_rpc response, blocks until there is a new event, so call this in a loop from a thread.