Fix url problems - bad host name, and bad servlet path - introduced by froyo merge.
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Wed, 18 Jul 2012 15:48:51 +0000 (15:48 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Wed, 18 Jul 2012 15:48:51 +0000 (15:48 +0000)
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@901 180e2498-e6e9-4542-8430-84ac67f01cd8

android/src/net/sf/openrocket/android/thrustcurve/ThrustCurveAPI.java

index 6d7fe35098e80e7f72dfe48117d9f35a61ab99d3..3d9ac96906f952800aa3b9089980f1b5970bf98a 100644 (file)
@@ -25,7 +25,7 @@ public abstract class ThrustCurveAPI {
                AndroidLogWrapper.d(ThrustCurveAPI.class, "doSearch: " + requestString);\r
                // Froyo has troubles resolving URLS constructed with protocols.  Because of this\r
                // we need to do it in parts.\r
-               URL url = new URL("http", "www.thurustcurve.org", "servlets/search");\r
+               URL url = new URL("http", "www.thrustcurve.org", "/servlets/search");\r
 \r
         OutputStream  stream;\r
 \r
@@ -60,7 +60,7 @@ public abstract class ThrustCurveAPI {
                AndroidLogWrapper.d(ThrustCurveAPI.class, "downloadData: " + requestString);\r
                // Froyo has troubles resolving URLS constructed with protocols.  Because of this\r
                // we need to do it in parts.\r
-               URL url = new URL("http", "www.thurustcurve.org", "servlets/download");\r
+               URL url = new URL("http", "www.thrustcurve.org", "/servlets/download");\r
 \r
                OutputStream  stream;\r
 \r