git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d650f88
)
smbd: Save a few bytes of .text
author
Volker Lendecke
<vl@samba.org>
Wed, 17 Apr 2024 09:24:25 +0000
(11:24 +0200)
committer
Jeremy Allison
<jra@samba.org>
Tue, 30 Apr 2024 22:44:32 +0000
(22:44 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/smb2_negprot.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_negprot.c
b/source3/smbd/smb2_negprot.c
index d355b87f9d6c87e1fcd3df7e0520adbcf4fba291..f66ec2aa47f98ad8ada61a25104a1fbcc798b49e 100644
(file)
--- a/
source3/smbd/smb2_negprot.c
+++ b/
source3/smbd/smb2_negprot.c
@@
-96,7
+96,7
@@
enum protocol_types smbd_smb2_protocol_dialect_match(const uint8_t *indyn,
const int dialect_count,
uint16_t *dialect)
{
- struct {
+ st
atic const st
ruct {
enum protocol_types proto;
uint16_t dialect;
} pd[] = {