From 0d190cfcb247c7d311971777cce00b3b1683d916 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 1 Apr 2013 13:19:01 -0700 Subject: [PATCH] Add stub static function that will turn on/off receivefile code path. Signed-off-by: Jeremy Allison Reviewed-by: Stefan (metze) Metzmacher (cherry picked from commit fdcaf0fa360b9590114605d24af545b1d42b9fd5) --- source3/smbd/smb2_server.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source3/smbd/smb2_server.c b/source3/smbd/smb2_server.c index 8f1d662be5a..9f67881c6ee 100644 --- a/source3/smbd/smb2_server.c +++ b/source3/smbd/smb2_server.c @@ -2892,6 +2892,11 @@ static struct tevent_req *smbd_smb2_request_read_send(TALLOC_CTX *mem_ctx, return req; } +static bool is_smb2_recvfile_write(struct smbd_smb2_request_read_state *state) +{ + return false; +} + static int smbd_smb2_request_next_vector(struct tstream_context *stream, void *private_data, TALLOC_CTX *mem_ctx, -- 2.11.4.GIT