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 b1ebaecd00..d98d3485c1 100644
--- a/stream/stream_smb.c
+++ b/stream/stream_smb.c
@@ -165,7 +165,6 @@ static int open_f (stream_t *stream, int mode, void *opts)
stream->seek = seek;
if(mode == STREAM_READ) stream->end_pos = len;
}
- stream->type = STREAMTYPE_SMB;
stream->fd = fd;
stream->fill_buffer = fill_buffer;
stream->write_buffer = write_buffer;