From 907612ee1c609b1e1498d2d2cd1f5f462d3e5c60 Mon Sep 17 00:00:00 2001 From: Andrey Volk Date: Wed, 9 Jul 2025 22:43:21 +0300 Subject: [PATCH] [mod_xml_rpc] Fix incompatible pointer type --- src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c b/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c index 8e49462d2c..0a4e5e1e44 100644 --- a/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c +++ b/src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c @@ -321,7 +321,7 @@ static abyss_bool user_attributes(const char *user, const char *domain_name, static abyss_bool is_authorized(const TSession * r, const char *command) { char *user = NULL, *domain_name = NULL; - char *allowed_commands = NULL; + const char *allowed_commands = NULL; char *dp; char *dup = NULL; char *argv[256] = { 0 }; @@ -922,7 +922,7 @@ abyss_bool handler_hook(TSession * r) if (len > 0) { int succeeded = TRUE; char *qp = qbuf; - char *readError; + const char *readError; do { int blen = r->connP->buffersize - r->connP->bufferpos;