summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
Diffstat (limited to 'stream')
-rw-r--r--stream/stream_smb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/stream_smb.c b/stream/stream_smb.c
index 2f1d538e2b..a9132eda69 100644
--- a/stream/stream_smb.c
+++ b/stream/stream_smb.c
@@ -134,8 +134,8 @@ static int open_f (stream_t *stream, int mode, void *opts, int* file_format) {
stream->flags = mode;
len = 0;
if(mode == STREAM_READ) {
- len = smbc_lseek(fd,0,SEEK_END);
- smbc_lseek (fd, 0, SEEK_SET);
+ len = smbc_lseek(fd,0,SEEK_END);
+ smbc_lseek (fd, 0, SEEK_SET);
}
if(len > 0 || mode == STREAM_WRITE) {
stream->flags |= STREAM_SEEK;