diff options
-rw-r--r-- | source3/smbd/reply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 4285e0ea77..51ac95caf9 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -2640,10 +2640,10 @@ int send_file_readX(connection_struct *conn, char *inbuf,char *outbuf,int length return -1; } - normal_read: - #endif + normal_read: + if ((smb_maxcnt && 0xFF0000) > 0x10000) { int sendlen = setup_readX_header(inbuf,outbuf,smb_maxcnt) - smb_maxcnt; /* Send out the header. */ |