mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
Fix casting problems where I assumed return value was still a XmlRpcResponse rather than the value HashTable
This commit is contained in:
@@ -113,12 +113,14 @@ namespace OpenSim.Grid.MessagingServer.Modules
|
||||
// Send Request
|
||||
try
|
||||
{
|
||||
XmlRpcRequest UserReq = new XmlRpcRequest("register_messageserver", SendParams);
|
||||
XmlRpcResponse UserResp = (XmlRpcResponse)UserReq.Invoke(srv);
|
||||
//XmlRpcResponse UserResp = UserReq.Send(srv, 16000);
|
||||
XmlRpcRequest UserReq = new XmlRpcRequest("register_messageserver", SendParams);
|
||||
////XmlRpcResponse UserResp = UserReq.Send(srv, 16000);
|
||||
|
||||
//// Process Response
|
||||
//Hashtable GridRespData = (Hashtable)UserResp.Value;
|
||||
|
||||
Hashtable GridRespData = (Hashtable)UserReq.Invoke(srv);
|
||||
|
||||
// Process Response
|
||||
Hashtable GridRespData = (Hashtable)UserResp.Value;
|
||||
// if we got a response, we were successful
|
||||
if (!GridRespData.ContainsKey("responsestring"))
|
||||
success = false;
|
||||
|
||||
Reference in New Issue
Block a user