| 2211 | } |
| 2212 | |
| 2213 | static void http_opt_request_remainder(CURL *curl, off_t pos) |
| 2214 | { |
| 2215 | char buf[128]; |
| 2216 | xsnprintf(buf, sizeof(buf), "%"PRIuMAX"-", (uintmax_t)pos); |
| 2217 | curl_easy_setopt(curl, CURLOPT_RANGE, buf); |
| 2218 | } |
| 2219 | |
| 2220 | /* http_request() targets */ |
| 2221 | #define HTTP_REQUEST_STRBUF 0 |
no test coverage detected