From: Jeremy Allison Date: Wed, 16 May 2007 00:21:12 +0000 (+0000) Subject: r22922: Move "normal_read:" label out of ifdef guard. Fix the build. X-Git-Tag: samba-4.0.0alpha6~801^2~5864 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c3bde5a591b79682cba273e32229f6ffb9bdf531;p=thirdparty%2Fsamba.git r22922: Move "normal_read:" label out of ifdef guard. Fix the build. Jeremy. (This used to be commit 3c1ccc68f03b02d2223ec745e241129766e0c15e) --- diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 4285e0ea779..51ac95caf9f 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. */