diff options
author | Justin Clarke Casey | 2008-10-03 14:18:17 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-10-03 14:18:17 +0000 |
commit | 8c55f3eaa671f22012a567138b6ee55b4c3e4941 (patch) | |
tree | d4c4ebb5b13a235b5609ef035bd7ac3870e44c7c /OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs | |
parent | Prevent attachments to be persisted in the destination region when the (diff) | |
download | opensim-SC_OLD-8c55f3eaa671f22012a567138b6ee55b4c3e4941.zip opensim-SC_OLD-8c55f3eaa671f22012a567138b6ee55b4c3e4941.tar.gz opensim-SC_OLD-8c55f3eaa671f22012a567138b6ee55b4c3e4941.tar.bz2 opensim-SC_OLD-8c55f3eaa671f22012a567138b6ee55b4c3e4941.tar.xz |
* minor: remove warnings (the code cleaners strike again)
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs index 2eb1618..76fb141 100644 --- a/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs +++ b/OpenSim/Region/Environment/Modules/Framework/EventQueueGetModule.cs | |||
@@ -268,10 +268,9 @@ namespace OpenSim.Region.Environment.Modules.Framework | |||
268 | { | 268 | { |
269 | return ProcessQueue(m_dhttpMethod,agentID, caps); | 269 | return ProcessQueue(m_dhttpMethod,agentID, caps); |
270 | })); | 270 | })); |
271 | 271 | ||
272 | bool boolval = false; | ||
273 | // This will persist this beyond the expiry of the caps handlers | 272 | // This will persist this beyond the expiry of the caps handlers |
274 | boolval = m_scene.AddHTTPHandler(capsBase + EventQueueGetUUID.ToString() + "/", EventQueuePath2); | 273 | m_scene.AddHTTPHandler(capsBase + EventQueueGetUUID.ToString() + "/", EventQueuePath2); |
275 | 274 | ||
276 | Random rnd = new Random(System.Environment.TickCount); | 275 | Random rnd = new Random(System.Environment.TickCount); |
277 | lock (m_ids) | 276 | lock (m_ids) |
@@ -421,7 +420,7 @@ namespace OpenSim.Region.Environment.Modules.Framework | |||
421 | string capuuid = path.Replace("/CAPS/EQG/",""); | 420 | string capuuid = path.Replace("/CAPS/EQG/",""); |
422 | capuuid = capuuid.Substring(0, capuuid.Length - 1); | 421 | capuuid = capuuid.Substring(0, capuuid.Length - 1); |
423 | 422 | ||
424 | UUID AvatarID = UUID.Zero; | 423 | // UUID AvatarID = UUID.Zero; |
425 | UUID capUUID = UUID.Zero; | 424 | UUID capUUID = UUID.Zero; |
426 | if (UUID.TryParse(capuuid, out capUUID)) | 425 | if (UUID.TryParse(capuuid, out capUUID)) |
427 | { | 426 | { |