mirror of
https://github.com/opensim/opensim.git
synced 2026-05-13 01:46:07 +08:00
errr gridhash sent as a uuid; cosmetics
This commit is contained in:
@@ -316,7 +316,7 @@ namespace osWebRtcVoice
|
||||
string channel_id = pRequest.TryGetString("channel_id", out string cli) ? cli : string.Empty;
|
||||
string channel_credentials = pRequest.TryGetString("credentials", out string cred) ? cred : string.Empty;
|
||||
string channel_type = pRequest["channel_type"].AsString();
|
||||
string gridHash = pRequest.TryGetString("gridhash", out string ghash) ? ghash : string.Empty;
|
||||
string gridHash = pRequest.TryGetValue("gridhash", out OSD ghash) ? ghash.AsString() : string.Empty;
|
||||
bool isSpatial = channel_type == "local";
|
||||
|
||||
_log.DebugFormat("{0} ProvisionVoiceAccountRequest: parcel_id={1} channel_id={2} channel_type={3} voice_server_type={4}", LogHeader, parcel_local_id, channel_id, channel_type, voice_server_type);
|
||||
|
||||
@@ -30,7 +30,6 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Reflection;
|
||||
using System.Threading;
|
||||
using System.Text;
|
||||
@@ -399,10 +398,8 @@ namespace OpenSim.Region.DataSnapshot
|
||||
private void NotifyDataServices(string servicesStr, string serviceName)
|
||||
{
|
||||
Stream reply = null;
|
||||
string delimStr = ";";
|
||||
char [] delimiter = delimStr.ToCharArray();
|
||||
|
||||
string[] services = servicesStr.Split(delimiter, StringSplitOptions.RemoveEmptyEntries);
|
||||
string[] services = servicesStr.Split([';'], StringSplitOptions.RemoveEmptyEntries);
|
||||
|
||||
for (int i = 0; i < services.Length; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user