mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
FS-2746 --resolve large xmlrpc update thanks garmt
This commit is contained in:
@@ -712,7 +712,7 @@ buildArrayDecompBranch(xmlrpc_env * const envP,
|
||||
if (itemCnt >= ARRAY_SIZE(decompNodeP->store.Tarray.itemArray))
|
||||
xmlrpc_faultf(envP, "Too many array items in format string. "
|
||||
"The most items you can have for an array in "
|
||||
"a format string is %u.",
|
||||
"a format string is %u.", (unsigned)
|
||||
ARRAY_SIZE(decompNodeP->store.Tarray.itemArray));
|
||||
else {
|
||||
struct decompTreeNode * itemNodeP;
|
||||
@@ -850,7 +850,7 @@ buildStructDecompBranch(xmlrpc_env * const envP,
|
||||
xmlrpc_faultf(envP,
|
||||
"Too many structure members in format string. "
|
||||
"The most members you can specify in "
|
||||
"a format string is %u.",
|
||||
"a format string is %u.", (unsigned)
|
||||
ARRAY_SIZE(decompNodeP->store.Tstruct.mbrArray));
|
||||
else {
|
||||
struct mbrDecomp * const mbrP =
|
||||
@@ -1059,9 +1059,8 @@ createDecompTree(xmlrpc_env * const envP,
|
||||
|
||||
if (envP->fault_occurred)
|
||||
destroyDecompTree(decompRootP);
|
||||
else
|
||||
*decompRootPP = decompRootP;
|
||||
}
|
||||
*decompRootPP = decompRootP;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user