Skip to content

Commit 9ecd147

Browse files
committed
Merge pull request android-async-http#9 from jlsuttles/master
Small fix to put(url, params, responseHandler)
2 parents 6186f58 + e63492b commit 9ecd147

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/loopj/android/http/AsyncHttpClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ public void put(String url, AsyncHttpResponseHandler responseHandler) {
340340
* @param responseHandler the response handler instance that should handle the response.
341341
*/
342342
public void put(String url, RequestParams params, AsyncHttpResponseHandler responseHandler) {
343-
put(null, params, responseHandler);
343+
put(null, url, params, responseHandler);
344344
}
345345

346346
/**
@@ -457,4 +457,4 @@ public long getContentLength() {
457457
return -1;
458458
}
459459
}
460-
}
460+
}

0 commit comments

Comments
 (0)