diff options
author | Jeff Ames | 2007-12-19 08:44:25 +0000 |
---|---|---|
committer | Jeff Ames | 2007-12-19 08:44:25 +0000 |
commit | 6702b0373371fd2a546a580ad82f5cc175fa29e0 (patch) | |
tree | f2750d5be494d2a976cb583476c4f32ef3d895d7 /OpenSim/Framework/Data | |
parent | *Added Ban Lines around parcels for banned avatars, but there is no actual bl... (diff) | |
download | opensim-SC_OLD-6702b0373371fd2a546a580ad82f5cc175fa29e0.zip opensim-SC_OLD-6702b0373371fd2a546a580ad82f5cc175fa29e0.tar.gz opensim-SC_OLD-6702b0373371fd2a546a580ad82f5cc175fa29e0.tar.bz2 opensim-SC_OLD-6702b0373371fd2a546a580ad82f5cc175fa29e0.tar.xz |
Misc. cleanup:
* added Util.Clip(value, min, max)
* modified asset cache's numPackets calculation to use max packet size (600) instead of 1000
* removed a few magic numbers
Diffstat (limited to 'OpenSim/Framework/Data')
-rw-r--r-- | OpenSim/Framework/Data/GridData.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Data/GridData.cs b/OpenSim/Framework/Data/GridData.cs index 1aebbda..7864dda 100644 --- a/OpenSim/Framework/Data/GridData.cs +++ b/OpenSim/Framework/Data/GridData.cs | |||
@@ -79,12 +79,12 @@ namespace OpenSim.Framework.Data | |||
79 | 79 | ||
80 | List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query); | 80 | List<AvatarPickerAvatar> GeneratePickerResults(LLUUID queryID, string query); |
81 | /// <summary> | 81 | /// <summary> |
82 | /// Authenticates a sim by use of it's recv key. | 82 | /// Authenticates a sim by use of its recv key. |
83 | /// WARNING: Insecure | 83 | /// WARNING: Insecure |
84 | /// </summary> | 84 | /// </summary> |
85 | /// <param name="UUID">The UUID sent by the sim</param> | 85 | /// <param name="UUID">The UUID sent by the sim</param> |
86 | /// <param name="regionHandle">The regionhandle sent by the sim</param> | 86 | /// <param name="regionHandle">The regionhandle sent by the sim</param> |
87 | /// <param name="simrecvkey">The recieving key sent by the sim</param> | 87 | /// <param name="simrecvkey">The receiving key sent by the sim</param> |
88 | /// <returns>Whether the sim has been authenticated</returns> | 88 | /// <returns>Whether the sim has been authenticated</returns> |
89 | bool AuthenticateSim(LLUUID UUID, ulong regionHandle, string simrecvkey); | 89 | bool AuthenticateSim(LLUUID UUID, ulong regionHandle, string simrecvkey); |
90 | 90 | ||