mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-12-26 12:51:28 +00:00
Fixed repo size being always 0 (fixes #42).
This commit is contained in:
parent
ca0020b176
commit
505673bf71
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue