diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-05 13:11:37 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-09-05 13:17:34 +0200 |
commit | 592ac97728e091e3f126f0c05255255b565c5500 (patch) | |
tree | 78605c2cee975d5714c3804ce92ee0e004d529b4 /source4/ntvfs/posix/pvfs_read.c | |
parent | 1ba5077e5f1db07662f895e068c505479be29b48 (diff) | |
download | samba-592ac97728e091e3f126f0c05255255b565c5500.tar.gz samba-592ac97728e091e3f126f0c05255255b565c5500.tar.bz2 samba-592ac97728e091e3f126f0c05255255b565c5500.zip |
s4:ntvfs: s/!= PROTOCOL_SMB2/< PROTOCOL_SMB2_02/
metze
Diffstat (limited to 'source4/ntvfs/posix/pvfs_read.c')
-rw-r--r-- | source4/ntvfs/posix/pvfs_read.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/posix/pvfs_read.c b/source4/ntvfs/posix/pvfs_read.c index 34742fcf66..f60b721e41 100644 --- a/source4/ntvfs/posix/pvfs_read.c +++ b/source4/ntvfs/posix/pvfs_read.c @@ -59,7 +59,7 @@ NTSTATUS pvfs_read(struct ntvfs_module_context *ntvfs, } maxcnt = rd->readx.in.maxcnt; - if (maxcnt > 2*UINT16_MAX && req->ctx->protocol < PROTOCOL_SMB2) { + if (maxcnt > 2*UINT16_MAX && req->ctx->protocol < PROTOCOL_SMB2_02) { DEBUG(3,(__location__ ": Invalid SMB maxcnt 0x%x\n", maxcnt)); return NT_STATUS_INVALID_PARAMETER; } |