diff options
author | Jeremy Allison <jra@samba.org> | 2009-11-04 15:15:50 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-11-04 15:15:50 -0800 |
commit | cbafe17bb37acfb76acf9d9905be1029e274089e (patch) | |
tree | 26e1eb9b867a5564400dce6d3839891c9a9b9d16 /source3/smbd/smb2_negprot.c | |
parent | 51cb96271b4f9a4bd37b44bdb6042913b60ba3c1 (diff) | |
download | samba-cbafe17bb37acfb76acf9d9905be1029e274089e.tar.gz samba-cbafe17bb37acfb76acf9d9905be1029e274089e.tar.bz2 samba-cbafe17bb37acfb76acf9d9905be1029e274089e.zip |
Remove "Protocol" as an extern, and add accessor functions.
Jeremy.
Diffstat (limited to 'source3/smbd/smb2_negprot.c')
-rw-r--r-- | source3/smbd/smb2_negprot.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/smbd/smb2_negprot.c b/source3/smbd/smb2_negprot.c index 2c6449dbaa..5b97c65d79 100644 --- a/source3/smbd/smb2_negprot.c +++ b/source3/smbd/smb2_negprot.c @@ -22,8 +22,6 @@ #include "smbd/globals.h" #include "../libcli/smb/smb_common.h" -extern enum protocol_types Protocol; - /* * this is the entry point if SMB2 is selected via * the SMB negprot @@ -114,7 +112,7 @@ NTSTATUS smbd_smb2_request_process_negprot(struct smbd_smb2_request *req) return smbd_smb2_request_error(req, NT_STATUS_INVALID_PARAMETER); } - Protocol = PROTOCOL_SMB2; + set_Protocol(PROTOCOL_SMB2); if (get_remote_arch() != RA_SAMBA) { set_remote_arch(RA_VISTA); |