input/curl: remove obsolete Windows sprintf() fallback

See commit be137a191e
This commit is contained in:
Max Kellermann 2018-01-24 13:26:18 +01:00
parent be137a191e
commit e4cb74cf7b
1 changed files with 0 additions and 5 deletions

View File

@ -423,12 +423,7 @@ CurlInputStream::SeekInternal(offset_type new_offset)
if (offset > 0) {
char range[32];
#ifdef _WIN32
// TODO: what can we use on Windows to format 64 bit?
sprintf(range, "%lu-", (long)offset);
#else
sprintf(range, "%llu-", (unsigned long long)offset);
#endif
request->SetOption(CURLOPT_RANGE, range);
}