Use dedicated union member for option offsets
[exim.git] / src / src / auths / dovecot.c
index a83fdfdedd6bef321944bd87d61bb5f3c3b869d7..c337510b52f645ea304ddde729181f3754e7aeda 100644 (file)
@@ -51,10 +51,8 @@ The cost is the length of an array of pointers on the stack.
 
 /* Options specific to the authentication mechanism. */
 optionlist auth_dovecot_options[] = {
-       {
-       "server_socket",
-       opt_stringptr,
-       (void *)(offsetof(auth_dovecot_options_block, server_socket))
+       { "server_socket", opt_stringptr,
+        OPT_OFF(auth_dovecot_options_block, server_socket)
        },
 };