diff options
author | onefang | 2019-05-19 21:24:15 +1000 |
---|---|---|
committer | onefang | 2019-05-19 21:24:15 +1000 |
commit | 5e4d6cab00cb29cd088ab7b62ab13aff103b64cb (patch) | |
tree | a9fbc62df9eb2d1d9ba2698d8552eae71eca20d8 /OpenSim/ConsoleClient/ConsoleClient.cs | |
parent | Add a build script. (diff) | |
download | opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.zip opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.gz opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.bz2 opensim-SC-5e4d6cab00cb29cd088ab7b62ab13aff103b64cb.tar.xz |
Dump OpenSim 0.9.0.1 into it's own branch.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/ConsoleClient/ConsoleClient.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/ConsoleClient/ConsoleClient.cs b/OpenSim/ConsoleClient/ConsoleClient.cs index 7c003ea..c395cd7 100644 --- a/OpenSim/ConsoleClient/ConsoleClient.cs +++ b/OpenSim/ConsoleClient/ConsoleClient.cs | |||
@@ -110,6 +110,7 @@ namespace OpenSim.ConsoleClient | |||
110 | public static void LoginReply(string requestUrl, string requestData, string replyData) | 110 | public static void LoginReply(string requestUrl, string requestData, string replyData) |
111 | { | 111 | { |
112 | XmlDocument doc = new XmlDocument(); | 112 | XmlDocument doc = new XmlDocument(); |
113 | doc.XmlResolver=null; | ||
113 | 114 | ||
114 | doc.LoadXml(replyData); | 115 | doc.LoadXml(replyData); |
115 | 116 | ||
@@ -169,6 +170,7 @@ namespace OpenSim.ConsoleClient | |||
169 | public static void ReadResponses(string requestUrl, string requestData, string replyData) | 170 | public static void ReadResponses(string requestUrl, string requestData, string replyData) |
170 | { | 171 | { |
171 | XmlDocument doc = new XmlDocument(); | 172 | XmlDocument doc = new XmlDocument(); |
173 | doc.XmlResolver=null; | ||
172 | 174 | ||
173 | doc.LoadXml(replyData); | 175 | doc.LoadXml(replyData); |
174 | 176 | ||
@@ -178,7 +180,7 @@ namespace OpenSim.ConsoleClient | |||
178 | Requester.MakeRequest(requestUrl, requestData, ReadResponses); | 180 | Requester.MakeRequest(requestUrl, requestData, ReadResponses); |
179 | return; | 181 | return; |
180 | } | 182 | } |
181 | 183 | ||
182 | List<string> lines = new List<string>(); | 184 | List<string> lines = new List<string>(); |
183 | 185 | ||
184 | foreach (XmlNode part in rootNodeL[0].ChildNodes) | 186 | foreach (XmlNode part in rootNodeL[0].ChildNodes) |
@@ -202,7 +204,7 @@ namespace OpenSim.ConsoleClient | |||
202 | string[] parts = l.Split(new char[] {':'}, 3); | 204 | string[] parts = l.Split(new char[] {':'}, 3); |
203 | if (parts.Length != 3) | 205 | if (parts.Length != 3) |
204 | continue; | 206 | continue; |
205 | 207 | ||
206 | if (parts[2].StartsWith("+++") || parts[2].StartsWith("-++")) | 208 | if (parts[2].StartsWith("+++") || parts[2].StartsWith("-++")) |
207 | prompt = parts[2]; | 209 | prompt = parts[2]; |
208 | else | 210 | else |