diff options
Diffstat (limited to 'OpenSim/Services/Connectors/Hypergrid')
-rw-r--r-- | OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs | 6 | ||||
-rw-r--r-- | OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs | 2 |
2 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs b/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs index 5bcff48..d840527 100644 --- a/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs +++ b/OpenSim/Services/Connectors/Hypergrid/GatekeeperServiceConnector.cs | |||
@@ -158,6 +158,7 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
158 | try | 158 | try |
159 | { | 159 | { |
160 | WebClient c = new WebClient(); | 160 | WebClient c = new WebClient(); |
161 | //m_log.Debug("JPEG: " + imageURL); | ||
161 | string name = regionID.ToString(); | 162 | string name = regionID.ToString(); |
162 | filename = Path.Combine(storagePath, name + ".jpg"); | 163 | filename = Path.Combine(storagePath, name + ".jpg"); |
163 | m_log.DebugFormat("[GATEKEEPER SERVICE CONNECTOR]: Map image at {0}, cached at {1}", imageURL, filename); | 164 | m_log.DebugFormat("[GATEKEEPER SERVICE CONNECTOR]: Map image at {0}, cached at {1}", imageURL, filename); |
@@ -186,11 +187,10 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
186 | 187 | ||
187 | ass.Data = imageData; | 188 | ass.Data = imageData; |
188 | 189 | ||
189 | mapTile = ass.FullID; | ||
190 | |||
191 | // finally | ||
192 | m_AssetService.Store(ass); | 190 | m_AssetService.Store(ass); |
193 | 191 | ||
192 | // finally | ||
193 | mapTile = ass.FullID; | ||
194 | } | 194 | } |
195 | catch // LEGIT: Catching problems caused by OpenJPEG p/invoke | 195 | catch // LEGIT: Catching problems caused by OpenJPEG p/invoke |
196 | { | 196 | { |
diff --git a/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs b/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs index 47d0cce..d7e38f1 100644 --- a/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs +++ b/OpenSim/Services/Connectors/Hypergrid/UserAgentServiceConnector.cs | |||
@@ -98,8 +98,6 @@ namespace OpenSim.Services.Connectors.Hypergrid | |||
98 | throw new Exception("UserAgent connector init error"); | 98 | throw new Exception("UserAgent connector init error"); |
99 | } | 99 | } |
100 | m_ServerURL = serviceURI; | 100 | m_ServerURL = serviceURI; |
101 | if (!m_ServerURL.EndsWith("/")) | ||
102 | m_ServerURL += "/"; | ||
103 | 101 | ||
104 | m_log.DebugFormat("[USER AGENT CONNECTOR]: UserAgentServiceConnector started for {0}", m_ServerURL); | 102 | m_log.DebugFormat("[USER AGENT CONNECTOR]: UserAgentServiceConnector started for {0}", m_ServerURL); |
105 | } | 103 | } |