summaryrefslogtreecommitdiffstats
path: root/stream/stream_ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_ftp.c')
-rw-r--r--stream/stream_ftp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stream/stream_ftp.c b/stream/stream_ftp.c
index 03a8826d16..77537e08fd 100644
--- a/stream/stream_ftp.c
+++ b/stream/stream_ftp.c
@@ -337,7 +337,6 @@ static int seek(stream_t *s,int64_t newpos) {
char rsp_txt[256];
if(s->pos > s->end_pos) {
- s->eof=1;
return 0;
}
@@ -376,7 +375,6 @@ static int seek(stream_t *s,int64_t newpos) {
resp = readresp(p,rsp_txt);
if(resp != 4 && resp != 2) {
mp_msg(MSGT_OPEN,MSGL_ERR, "[ftp] Server didn't abort correctly: %s\n",rsp_txt);
- s->eof = 1;
return 0;
}
// Send the ABOR command