Compare commits

...

2 Commits

Author SHA1 Message Date
Дилян Палаузов f16671c4de
Merge 475b64d1c5 into 5cb74797fe 2025-01-17 16:41:26 +00:00
Дилян Палаузов 475b64d1c5 xml_int/mod_xml_rpc: const compiler errors 2024-06-25 22:57:54 +03:00
1 changed files with 2 additions and 2 deletions

View File

@ -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) static abyss_bool is_authorized(const TSession * r, const char *command)
{ {
char *user = NULL, *domain_name = NULL; char *user = NULL, *domain_name = NULL;
char *allowed_commands = NULL; const char *allowed_commands = NULL;
char *dp; char *dp;
char *dup = NULL; char *dup = NULL;
char *argv[256] = { 0 }; char *argv[256] = { 0 };
@ -922,7 +922,7 @@ abyss_bool handler_hook(TSession * r)
if (len > 0) { if (len > 0) {
int succeeded = TRUE; int succeeded = TRUE;
char *qp = qbuf; char *qp = qbuf;
char *readError; const char *readError;
do { do {
int blen = r->connP->buffersize - r->connP->bufferpos; int blen = r->connP->buffersize - r->connP->bufferpos;