From d9843b3db4ba6961ba1af01f8393b7e744df5927 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 26 May 2009 14:56:08 +0200 Subject: s3:smbd: move max_recv to struct smbd_server_connection metze --- source3/smbd/globals.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/smbd/globals.h') diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 46c52fea12..e8f26a98d0 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -113,11 +113,6 @@ extern bool already_got_session; * Set by us for CORE protocol. */ extern int max_send; -/* - * Size of the data we can receive. Set by us. - * Can be modified by the max xmit parameter. - */ -extern int max_recv; extern uint16 last_session_tag; extern int trans_num; @@ -330,6 +325,11 @@ struct smbd_server_connection { bool spnego; struct auth_context *auth_context; bool done; + /* + * Size of the data we can receive. Set by us. + * Can be modified by the max xmit parameter. + */ + int max_recv; } negprot; struct smb_signing_state *signing_state; -- cgit