diff options
author | Jeremy Allison <jra@samba.org> | 2002-06-14 23:16:00 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-06-14 23:16:00 +0000 |
commit | 59e0dff0c78add442cb60e72ca7cad7eb1bc7219 (patch) | |
tree | a547383558959c19b6d90c7b36ec9f77b5eddd41 | |
parent | 998fe278808728231b9c2d2869d5b1fb7ee19293 (diff) | |
download | samba-59e0dff0c78add442cb60e72ca7cad7eb1bc7219.tar.gz samba-59e0dff0c78add442cb60e72ca7cad7eb1bc7219.tar.bz2 samba-59e0dff0c78add442cb60e72ca7cad7eb1bc7219.zip |
Fix spelling typo.
Jeremy.
(This used to be commit 0e7e8d44627ad9645a90e96001f8550b68b67a62)
-rw-r--r-- | source3/include/smb.h | 22 | ||||
-rw-r--r-- | source3/libsmb/clientgen.c | 4 |
2 files changed, 13 insertions, 13 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index 6211ddef22..6678a8674d 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -1290,17 +1290,17 @@ char *strdup(char *s); /* NT Flags2 bits - cifs6.txt section 3.1.2 */ -#define FLAGS2_LONG_PATH_COMPONENTS 0x0001 -#define FLAGS2_EXTENDED_ATTRIBUTES 0x0002 -#define FLAGS2_SMB_SECUIRTY_SIGNITURES 0x0004 -#define FLAGS2_IS_LONG_NAME 0x0040 -#define FLAGS2_EXTENDED_SECURITY 0x0800 -#define FLAGS2_DFS_PATHNAMES 0x1000 -#define FLAGS2_READ_PERMIT_NO_EXECUTE 0x2000 -#define FLAGS2_32_BIT_ERROR_CODES 0x4000 -#define FLAGS2_UNICODE_STRINGS 0x8000 - -#define FLAGS2_WIN2K_SIGNATURE 0xC852 /* Hack alert ! For now... JRA. */ +#define FLAGS2_LONG_PATH_COMPONENTS 0x0001 +#define FLAGS2_EXTENDED_ATTRIBUTES 0x0002 +#define FLAGS2_SMB_SECURITY_SIGNATURES 0x0004 +#define FLAGS2_IS_LONG_NAME 0x0040 +#define FLAGS2_EXTENDED_SECURITY 0x0800 +#define FLAGS2_DFS_PATHNAMES 0x1000 +#define FLAGS2_READ_PERMIT_NO_EXECUTE 0x2000 +#define FLAGS2_32_BIT_ERROR_CODES 0x4000 +#define FLAGS2_UNICODE_STRINGS 0x8000 + +#define FLAGS2_WIN2K_SIGNATURE 0xC852 /* Hack alert ! For now... JRA. */ /* Capabilities. see ftp.microsoft.com/developr/drg/cifs/cifs/cifs4.txt */ diff --git a/source3/libsmb/clientgen.c b/source3/libsmb/clientgen.c index 5f42148078..e7e88687b8 100644 --- a/source3/libsmb/clientgen.c +++ b/source3/libsmb/clientgen.c @@ -120,7 +120,7 @@ BOOL cli_send_smb(struct cli_state *cli) if (cli->fd == -1) return False; - if (SVAL(cli->outbuf,smb_flg2) & FLAGS2_SMB_SECUIRTY_SIGNITURES) + if (SVAL(cli->outbuf,smb_flg2) & FLAGS2_SMB_SECURITY_SIGNATURES) cli_caclulate_sign_mac(cli); len = smb_len(cli->outbuf) + 4; @@ -162,7 +162,7 @@ void cli_setup_packet(struct cli_state *cli) flags2 |= FLAGS2_EXTENDED_SECURITY; } if (cli->sign_info.use_smb_signing) - flags2 |= FLAGS2_SMB_SECUIRTY_SIGNITURES; + flags2 |= FLAGS2_SMB_SECURITY_SIGNATURES; SSVAL(cli->outbuf,smb_flg2, flags2); } } |