mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-12 02:03:39 +00:00
Merge pull request #2836 from signalwire/xml_rpc_inc
[mod_xml_rpc] Fix incompatible pointer type
This commit is contained in:
commit
4d9c004eca
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user