aboutsummaryrefslogtreecommitdiffstats
path: root/src/update.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-21 16:56:10 +0100
committerMax Kellermann <max@duempel.org>2008-11-21 16:56:10 +0100
commit7779e4133a8f4298b04c857b3fd72e45a02f61f1 (patch)
treedabe4abfbcc5448030031dd0de3e260fc668b04f /src/update.c
parenta165ee25e8b32411d31ab63b932c7a056c37cb3b (diff)
downloadmpd-7779e4133a8f4298b04c857b3fd72e45a02f61f1.tar.gz
mpd-7779e4133a8f4298b04c857b3fd72e45a02f61f1.tar.xz
mpd-7779e4133a8f4298b04c857b3fd72e45a02f61f1.zip
input_curl: don't do temporary calculations with input_stream.offset
If someone calls seek() with an invalid (negative) offset, the curl implementation of that method returned false, but left this invalid offset in input_stream.offset. Move the calculation to a temporary variable.
Diffstat (limited to 'src/update.c')
0 files changed, 0 insertions, 0 deletions