summaryrefslogtreecommitdiffstats
path: root/stream/stream_smb.c
diff options
context:
space:
mode:
Diffstat (limited to 'stream/stream_smb.c')
-rw-r--r--stream/stream_smb.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/stream/stream_smb.c b/stream/stream_smb.c
index 3b67d6c88d..33b13f7a11 100644
--- a/stream/stream_smb.c
+++ b/stream/stream_smb.c
@@ -88,7 +88,6 @@ static int control(stream_t *s, int cmd, void *arg) {
static int seek(stream_t *s,int64_t newpos) {
s->pos = newpos;
if(smbc_lseek(s->fd,s->pos,SEEK_SET)<0) {
- s->eof=1;
return 0;
}
return 1;