diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-08-13 07:20:19 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:29:35 -0500 |
commit | 5af3e2d613f55ab7289b85d22a0e9fa115de4549 (patch) | |
tree | d74c07328c59259c5256a17407a6f428e5534489 /source3 | |
parent | b01978f2a9edd7cf1fa89d3d6db1244c48c37fe1 (diff) | |
download | samba-5af3e2d613f55ab7289b85d22a0e9fa115de4549.tar.gz samba-5af3e2d613f55ab7289b85d22a0e9fa115de4549.tar.bz2 samba-5af3e2d613f55ab7289b85d22a0e9fa115de4549.zip |
r24355: move reply_outbuf() to the place where it's used
metze
(This used to be commit c7ed550483233851d395edb4b8443b3296b45fb7)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index bf09180529..26ddde7a65 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -3435,7 +3435,6 @@ void reply_write_and_X(connection_struct *conn, struct smb_request *req) } nwritten = write_file(fsp,data,startpos,numtowrite); - reply_outbuf(req, 6, 0); } if(((nwritten == 0) && (numtowrite != 0))||(nwritten < 0)) { @@ -3444,6 +3443,7 @@ void reply_write_and_X(connection_struct *conn, struct smb_request *req) return; } + reply_outbuf(req, 6, 0); SSVAL(req->outbuf,smb_vwv2,nwritten); if (large_writeX) SSVAL(req->outbuf,smb_vwv4,(nwritten>>16)&1); |