diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-05-26 14:56:08 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-06-03 17:54:37 +0200 |
commit | d9843b3db4ba6961ba1af01f8393b7e744df5927 (patch) | |
tree | a3f03fdc32668b37c0c409fd630653fa03605f9c /source3/smbd/globals.h | |
parent | e16e7146b378e8e89bf25adc66d806bac7feaeb6 (diff) | |
download | samba-d9843b3db4ba6961ba1af01f8393b7e744df5927.tar.gz samba-d9843b3db4ba6961ba1af01f8393b7e744df5927.tar.bz2 samba-d9843b3db4ba6961ba1af01f8393b7e744df5927.zip |
s3:smbd: move max_recv to struct smbd_server_connection
metze
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 10 |
1 files changed, 5 insertions, 5 deletions
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; |