diff options
Diffstat (limited to 'OpenSim/Services/Connectors/MapImage')
-rw-r--r-- | OpenSim/Services/Connectors/MapImage/MapImageServiceConnector.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Services/Connectors/MapImage/MapImageServiceConnector.cs b/OpenSim/Services/Connectors/MapImage/MapImageServiceConnector.cs index e46714e..30bfb70 100644 --- a/OpenSim/Services/Connectors/MapImage/MapImageServiceConnector.cs +++ b/OpenSim/Services/Connectors/MapImage/MapImageServiceConnector.cs | |||
@@ -97,11 +97,12 @@ namespace OpenSim.Services.Connectors | |||
97 | sendData["DATA"] = Convert.ToBase64String(jpgData); | 97 | sendData["DATA"] = Convert.ToBase64String(jpgData); |
98 | 98 | ||
99 | string reqString = ServerUtils.BuildQueryString(sendData); | 99 | string reqString = ServerUtils.BuildQueryString(sendData); |
100 | string uri = m_ServerURI + "/map"; | ||
100 | 101 | ||
101 | try | 102 | try |
102 | { | 103 | { |
103 | string reply = SynchronousRestFormsRequester.MakeRequest("POST", | 104 | string reply = SynchronousRestFormsRequester.MakeRequest("POST", |
104 | m_ServerURI + "/map", | 105 | uri, |
105 | reqString); | 106 | reqString); |
106 | if (reply != string.Empty) | 107 | if (reply != string.Empty) |
107 | { | 108 | { |
@@ -135,7 +136,7 @@ namespace OpenSim.Services.Connectors | |||
135 | } | 136 | } |
136 | catch (Exception e) | 137 | catch (Exception e) |
137 | { | 138 | { |
138 | m_log.DebugFormat("[MAP IMAGE CONNECTOR]: Exception when contacting grid server: {0}", e.Message); | 139 | m_log.DebugFormat("[MAP IMAGE CONNECTOR]: Exception when contacting map server at {0}: {1}", uri, e.Message); |
139 | } | 140 | } |
140 | finally | 141 | finally |
141 | { | 142 | { |