From d9600573120e79c73e30d588cffb17586df312c1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 5 Jun 2009 14:32:27 +0200 Subject: s3:smbd: add missing return statements to the SMB2 write error cases metze --- source3/smbd/smb2_write.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/smbd') 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 */ -- cgit