index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | LANGLOIS Olivier PIS -EXT <olivier.pis.langlois@transport.alstom.com> | 2013-01-29 00:43:09 +0000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-01-29 13:36:58 +1000 |
commit | f21e1f54aa92e78f701c11696a2b4b404ed5672b (patch) | |
tree | 902fab5819835761830a82e79463811a6731d541 /lib/libalpm | |
parent | cb43bd8dfbee0396ff6f56c20690995adfcf3b99 (diff) |
-rw-r--r-- | lib/libalpm/dload.c | 2 |
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 83d2051e..19f629d1 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -294,7 +294,7 @@ static void curl_set_handle_opts(struct dload_payload *payload, curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); curl_easy_setopt(curl, CURLOPT_PROGRESSFUNCTION, dload_progress_cb); curl_easy_setopt(curl, CURLOPT_PROGRESSDATA, (void *)payload); - curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, 1024L); + curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, 1L); curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, 10L); curl_easy_setopt(curl, CURLOPT_HEADERFUNCTION, dload_parseheader_cb); curl_easy_setopt(curl, CURLOPT_WRITEHEADER, (void *)payload); |