summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/input/input_http.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_http.c b/src/input/input_http.c
index cfd91f6b3..02a9a6974 100644
--- a/src/input/input_http.c
+++ b/src/input/input_http.c
@@ -593,10 +593,10 @@ static off_t http_plugin_seek(input_plugin_t *this_gen, off_t offset, int origin
if ((origin == SEEK_CUR) && (offset >= 0)) {
for (;((int)offset) - BUFSIZE > 0; offset -= BUFSIZE) {
- this->curpos += http_plugin_read (this_gen, this->seek_buf, BUFSIZE);
+ http_plugin_read (this_gen, this->seek_buf, BUFSIZE);
}
- this->curpos += http_plugin_read (this_gen, this->seek_buf, offset);
+ http_plugin_read (this_gen, this->seek_buf, offset);
}
return this->curpos;