Skip to content

Commit ba840f2

Browse files
authored
Merge pull request #19 from fusionpbx/1.10.12-backport-907612e
[mod_xml_rpc] Fix incompatible pointer type
2 parents c860664 + f88f194 commit ba840f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/mod/xml_int/mod_xml_rpc/mod_xml_rpc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ static abyss_bool user_attributes(const char *user, const char *domain_name,
321321
static abyss_bool is_authorized(const TSession * r, const char *command)
322322
{
323323
char *user = NULL, *domain_name = NULL;
324-
char *allowed_commands = NULL;
324+
const char *allowed_commands = NULL;
325325
char *dp;
326326
char *dup = NULL;
327327
char *argv[256] = { 0 };
@@ -922,7 +922,7 @@ abyss_bool handler_hook(TSession * r)
922922
if (len > 0) {
923923
int succeeded = TRUE;
924924
char *qp = qbuf;
925-
char *readError;
925+
const char *readError;
926926

927927
do {
928928
int blen = r->connP->buffersize - r->connP->bufferpos;

0 commit comments

Comments
 (0)