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
/
spa.c
diff --git
a/src/src/auths/spa.c
b/src/src/auths/spa.c
index 97e3b102cc166957e0c5367ca9dc55470729caa6..4c014b9f4b381584608a76e7b96b9670022bd9ad 100644
(file)
--- a/
src/src/auths/spa.c
+++ b/
src/src/auths/spa.c
@@
-46,13
+46,13
@@
References:
optionlist auth_spa_options[] = {
{ "client_domain", opt_stringptr,
optionlist auth_spa_options[] = {
{ "client_domain", opt_stringptr,
-
(void *)(offsetof(auth_spa_options_block, spa_domain)
) },
+
OPT_OFF(auth_spa_options_block, spa_domain
) },
{ "client_password", opt_stringptr,
{ "client_password", opt_stringptr,
-
(void *)(offsetof(auth_spa_options_block, spa_password)
) },
+
OPT_OFF(auth_spa_options_block, spa_password
) },
{ "client_username", opt_stringptr,
{ "client_username", opt_stringptr,
-
(void *)(offsetof(auth_spa_options_block, spa_username)
) },
+
OPT_OFF(auth_spa_options_block, spa_username
) },
{ "server_password", opt_stringptr,
{ "server_password", opt_stringptr,
-
(void *)(offsetof(auth_spa_options_block, spa_serverpassword)
) }
+
OPT_OFF(auth_spa_options_block, spa_serverpassword
) }
};
/* 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