svn commit: samba r24355 - in branches/SAMBA_3_2/source/smbd: .
metze at samba.org
metze at samba.org
Mon Aug 13 07:20:22 GMT 2007
Author: metze
Date: 2007-08-13 07:20:19 +0000 (Mon, 13 Aug 2007)
New Revision: 24355
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24355
Log:
move reply_outbuf() to the place where it's used
metze
Modified:
branches/SAMBA_3_2/source/smbd/reply.c
Changeset:
Modified: branches/SAMBA_3_2/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_2/source/smbd/reply.c 2007-08-12 21:23:06 UTC (rev 24354)
+++ branches/SAMBA_3_2/source/smbd/reply.c 2007-08-13 07:20:19 UTC (rev 24355)
@@ -3435,7 +3435,6 @@
}
nwritten = write_file(fsp,data,startpos,numtowrite);
- reply_outbuf(req, 6, 0);
}
if(((nwritten == 0) && (numtowrite != 0))||(nwritten < 0)) {
@@ -3444,6 +3443,7 @@
return;
}
+ reply_outbuf(req, 6, 0);
SSVAL(req->outbuf,smb_vwv2,nwritten);
if (large_writeX)
SSVAL(req->outbuf,smb_vwv4,(nwritten>>16)&1);
More information about the samba-cvs
mailing list