mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
use array.Empty<byte>
This commit is contained in:
@@ -247,7 +247,7 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction
|
||||
// "[ASSET XFER UPLOADER]: Requesting Xfer of asset {0}, type {1}, transfer id {2} from {3}",
|
||||
// m_asset.FullID, m_asset.Type, XferID, ourClient.Name);
|
||||
|
||||
ourClient.SendXferRequest(XferID, m_asset.Type, m_asset.FullID, 0, new byte[0]);
|
||||
ourClient.SendXferRequest(XferID, m_asset.Type, m_asset.FullID, 0, Array.Empty<byte>());
|
||||
}
|
||||
|
||||
protected void SendCompleteMessage()
|
||||
|
||||
@@ -322,7 +322,7 @@ namespace OpenSim.Region.CoreModules.Agent.Xfer
|
||||
public class XferDownLoad
|
||||
{
|
||||
public IClientAPI remoteClient;
|
||||
public byte[] Data = new byte[0];
|
||||
public byte[] Data = Array.Empty<byte>();
|
||||
public string FileName = String.Empty;
|
||||
public ulong XferID = 0;
|
||||
public bool isDeleted = false;
|
||||
|
||||
Reference in New Issue
Block a user