diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-05-03 20:54:06 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-05-03 20:54:06 +0200 |
commit | b5ac68a1d865b6252a31d17c36ae8c80aea5f8f4 (patch) | |
tree | 5cf453dd3e81c54ba1eb8ab63bae68a7d3046fd2 /src | |
parent | 2605e4b8ab511221b14b07f32ff78a69c491b9cc (diff) | |
download | pianobar-b5ac68a1d865b6252a31d17c36ae8c80aea5f8f4.tar.gz pianobar-b5ac68a1d865b6252a31d17c36ae8c80aea5f8f4.tar.bz2 pianobar-b5ac68a1d865b6252a31d17c36ae8c80aea5f8f4.zip |
Fix range header, accept 206 status code
Diffstat (limited to 'src')
-rw-r--r-- | src/player.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c index 3acfe58..46c3fff 100644 --- a/src/player.c +++ b/src/player.c @@ -446,7 +446,7 @@ void *BarPlayerThread (void *data) { /* This loop should work around song abortions by requesting the * missing part of the song */ do { - snprintf (extraHeaders, sizeof (extraHeaders), "Range: %u-\r\n", + snprintf (extraHeaders, sizeof (extraHeaders), "Range: bytes=%u-\r\n", player->bytesReceived); wRet = WaitressFetchCall (&player->waith); } while (wRet == WAITRESS_RET_PARTIAL_FILE); |