git://git.exim.org
/
users
/
jgh
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use dedicated union member for option offsets
[users/jgh/exim.git]
/
src
/
src
/
auths
/
plaintext.c
diff --git
a/src/src/auths/plaintext.c
b/src/src/auths/plaintext.c
index 29c8b496ef4111d33d3edf32e6db52dcc9bf43ca..c120375625900733fb8739ee3467ac0e93ad90e3 100644
(file)
--- a/
src/src/auths/plaintext.c
+++ b/
src/src/auths/plaintext.c
@@
-13,11
+13,11
@@
optionlist auth_plaintext_options[] = {
{ "client_ignore_invalid_base64", opt_bool,
optionlist auth_plaintext_options[] = {
{ "client_ignore_invalid_base64", opt_bool,
-
(void *)(offsetof(auth_plaintext_options_block, client_ignore_invalid_base64)
) },
+
OPT_OFF(auth_plaintext_options_block, client_ignore_invalid_base64
) },
{ "client_send", opt_stringptr,
{ "client_send", opt_stringptr,
-
(void *)(offsetof(auth_plaintext_options_block, client_send)
) },
+
OPT_OFF(auth_plaintext_options_block, client_send
) },
{ "server_prompts", opt_stringptr,
{ "server_prompts", opt_stringptr,
-
(void *)(offsetof(auth_plaintext_options_block, server_prompts)
) }
+
OPT_OFF(auth_plaintext_options_block, server_prompts
) }
};
/* Size of the options list. An extern variable has to be used so that its
};
/* Size of the options list. An extern variable has to be used so that its