Skip to content

Commit

Permalink
resolves infinite loop for put with url, params, and responseHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
jlsuttles committed Jul 27, 2011
1 parent 6186f58 commit e63492b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/com/loopj/android/http/AsyncHttpClient.java
Expand Up @@ -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);
}

/**
Expand Down Expand Up @@ -457,4 +457,4 @@ public long getContentLength() {
return -1;
}
}
}
}

0 comments on commit e63492b

Please sign in to comment.