1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-25 22:01:16 +00:00

Fixed repo size being always 0 (fixes #42).

This commit is contained in:
Felix Ableitner 2014-06-30 00:47:13 +02:00
parent ca0020b176
commit 505673bf71

View file

@ -50,7 +50,7 @@ public class GetTask extends AsyncTask<String, Void, String> {
HttpClient httpclient = new DefaultHttpClient();
if (params.length == 5) {
LinkedList<NameValuePair> urlParams = new LinkedList<NameValuePair>();
urlParams.add(new BasicNameValuePair(params[2], params[3]));
urlParams.add(new BasicNameValuePair(params[3], params[4]));
fullUri += "?" + URLEncodedUtils.format(urlParams, "utf-8");
}
HttpGet get = new HttpGet(fullUri);