mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Fix casting problems where I assumed return value was still a XmlRpcResponse rather than the value HashTable
This commit is contained in:
@@ -269,10 +269,11 @@ namespace OpenSim.Grid.MessagingServer.Modules
|
||||
|
||||
IList parameters = new ArrayList();
|
||||
parameters.Add(param);
|
||||
XmlRpcRequest req = new XmlRpcRequest("get_user_friend_list", parameters);
|
||||
XmlRpcResponse resp = (XmlRpcResponse)req.Invoke(m_cfg.UserServerURL);
|
||||
XmlRpcRequest req = new XmlRpcRequest("get_user_friend_list", parameters);
|
||||
//XmlRpcResponse resp = req.Send(m_cfg.UserServerURL, 3000);
|
||||
Hashtable respData = (Hashtable)resp.Value;
|
||||
//Hashtable respData = (Hashtable)resp.Value;
|
||||
|
||||
Hashtable respData = (Hashtable)req.Invoke(m_cfg.UserServerURL);
|
||||
|
||||
if (respData.Contains("avcount"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user