pidgin/pidgin

e9c97bff3701
Parents 74bc66c67211
Children 0b8bec51e84b
"unlimited" is not a valid value when fetching an http document.
The function defauls to 512 KiB if a negative max is specified.
--- a/libpurple/util.h Wed Apr 03 22:55:05 2013 -0700
+++ b/libpurple/util.h Sun Apr 14 12:49:31 2013 -0700
@@ -1196,7 +1196,8 @@
* standard GET
* @param include_headers
* If TRUE, include the HTTP headers in the response.
- * @param max_len The maximum number of bytes to retrieve (-1 for unlimited)
+ * @param max_len The maximum number of bytes to retrieve, or a negative
+ * number to use the default max of 512 KiB.
* @param callback The callback function.
* @param data The user data to pass to the callback function.
* @deprecated In 3.0.0, we'll rename this to "purple_util_fetch_url_request" and get rid of the old one