Permalink
Browse files

resolves infinite loop for put with url, params, and responseHandler

  • Loading branch information...
1 parent 6186f58 commit e63492ba46f1f42ca663254f40eef4aac4523e50 @jlsuttles jlsuttles committed Jul 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/com/loopj/android/http/AsyncHttpClient.java
@@ -340,7 +340,7 @@ public void put(String url, AsyncHttpResponseHandler responseHandler) {
* @param responseHandler the response handler instance that should handle the response.
*/
public void put(String url, RequestParams params, AsyncHttpResponseHandler responseHandler) {
- put(null, params, responseHandler);
+ put(null, url, params, responseHandler);
}
/**
@@ -457,4 +457,4 @@ public long getContentLength() {
return -1;
}
}
-}
+}

0 comments on commit e63492b

Please sign in to comment.