diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-12-07 00:13:02 +0200 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-12-07 00:13:02 +0200 |
commit | 37526c40a8714119a9402fbaf4c8c97b402b0ad6 (patch) | |
tree | 2a4dd1e18d0d84c719947bcf9dab11226f4273ee /indra/newview | |
parent | a06c16da42af47b0183aab59b5b5b85ca59f5d06 (diff) |
SL-16450 handling additional xmlrpc_types
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llxmlrpclistener.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llxmlrpclistener.cpp b/indra/newview/llxmlrpclistener.cpp index 83c4592c1d..8088fe2511 100644 --- a/indra/newview/llxmlrpclistener.cpp +++ b/indra/newview/llxmlrpclistener.cpp @@ -433,6 +433,18 @@ private: LL_DEBUGS("LLXMLRPCListener") << "val: " << val << LL_ENDL; responses.insert(key, val); } + else if (xmlrpc_type_boolean == type) + { + LLSD::Boolean val(XMLRPC_GetValueBoolean(current)); + LL_DEBUGS("LLXMLRPCListener") << "val: " << val << LL_ENDL; + responses.insert(key, val); + } + else if (xmlrpc_type_datetime == type) + { + std::string iso8601_date(XMLRPC_GetValueDateTime_ISO8601(current)); + LL_DEBUGS("LLXMLRPCListener") << "val: " << iso8601_date << LL_ENDL; + responses.insert(key, LLSD::Date(iso8601_date)); + } else if (xmlrpc_type_double == type) { LLSD::Real val(XMLRPC_GetValueDouble(current)); |