summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-01-24 13:26:18 +0100
committerMax Kellermann <max@musicpd.org>2018-07-06 19:05:09 +0200
commit87dfca0477c65945b487d661fa00a93fe15a8eb5 (patch)
treedb9709f201a78ac6fd0dd0937a648ba9923a53e3 /src
parente1ee8e78123a88678b4ebee67e77669257ccb89a (diff)
input/curl: remove obsolete Windows sprintf() fallback
See commit be137a191e5bb12f44e5c51205b2e5f86ef7117c
Diffstat (limited to 'src')
-rw-r--r--src/input/plugins/CurlInputPlugin.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/input/plugins/CurlInputPlugin.cxx b/src/input/plugins/CurlInputPlugin.cxx
index 7547b97f4..8def83f46 100644
--- a/src/input/plugins/CurlInputPlugin.cxx
+++ b/src/input/plugins/CurlInputPlugin.cxx
@@ -416,12 +416,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);
}