Avoid <int> in tinyxml2 responses

It's part of the XML-RPC spec, but some clients only accept i4/i8, which
should be supported nearly universally.

Fixes #1330
This commit is contained in:
kannibalox
2024-12-06 13:00:05 -05:00
committed by Jari Sundell
parent 5a200f5d8f
commit 3aeb213dc4
3 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -333,7 +333,7 @@ print_xmlrpc_fault(int faultCode, std::string faultString, tinyxml2::XMLPrinter*
printer->PushText("faultCode");
printer->CloseElement(true);
printer->OpenElement("value", true);
printer->OpenElement("int", true);
printer->OpenElement("i4", true);
printer->PushText(faultCode);
printer->CloseElement(true);
printer->CloseElement(true);