diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-06-05 14:32:27 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-06-05 14:32:50 +0200 |
commit | d9600573120e79c73e30d588cffb17586df312c1 (patch) | |
tree | 42930136995d0345f41aeb126a17fa45d880c912 /source3 | |
parent | f40b9ed8e9cda6397b272b055bad1cc9d8b32fe2 (diff) | |
download | samba-d9600573120e79c73e30d588cffb17586df312c1.tar.gz samba-d9600573120e79c73e30d588cffb17586df312c1.tar.bz2 samba-d9600573120e79c73e30d588cffb17586df312c1.zip |
s3:smbd: add missing return statements to the SMB2 write error cases
metze
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/smb2_write.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/smb2_write.c b/source3/smbd/smb2_write.c index 78b63dcaa6..1f19a66a46 100644 --- a/source3/smbd/smb2_write.c +++ b/source3/smbd/smb2_write.c @@ -130,6 +130,7 @@ static void smbd_smb2_request_write_done(struct tevent_req *subreq) nt_errstr(error)); return; } + return; } outhdr = (uint8_t *)req->out.vector[i].iov_base; @@ -142,6 +143,7 @@ static void smbd_smb2_request_write_done(struct tevent_req *subreq) nt_errstr(error)); return; } + return; } SSVAL(outbody.data, 0x00, 0x10 + 1); /* struct size */ |