From e4cb74cf7bb68b91cf201e5c21c4ecb2d6a02a33 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 24 Jan 2018 13:26:18 +0100 Subject: [PATCH] input/curl: remove obsolete Windows sprintf() fallback See commit be137a191e5bb12f44e5c51205b2e5f86ef7117c --- src/input/plugins/CurlInputPlugin.cxx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/input/plugins/CurlInputPlugin.cxx b/src/input/plugins/CurlInputPlugin.cxx index 9fdae3f02..31ade2ab3 100644 --- a/src/input/plugins/CurlInputPlugin.cxx +++ b/src/input/plugins/CurlInputPlugin.cxx @@ -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); }