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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/stream_smb.c b/stream/stream_smb.c
index f1b11f8d9b..027640f921 100644
--- a/stream/stream_smb.c
+++ b/stream/stream_smb.c
@@ -138,7 +138,7 @@ static int open_f (stream_t *stream, int mode, void *opts, int* file_format) {
smbc_lseek (fd, 0, SEEK_SET);
}
if(len > 0 || mode == STREAM_WRITE) {
- stream->flags |= STREAM_SEEK;
+ stream->flags |= MP_STREAM_SEEK;
stream->seek = seek;
if(mode == STREAM_READ) stream->end_pos = len;
}