mail: move "opts" from globals
function old new delta popmaildir_main 812 823 +11 sendmail_main 1295 1301 +6 makemime_main 291 288 -3 parse 970 966 -4 reformime_main 107 100 -7 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/3 up/down: 17/-14) Total: 3 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
91e330a53f
commit
25b2680056
6 changed files with 15 additions and 15 deletions
|
@ -11,7 +11,6 @@ struct globals {
|
|||
pid_t helper_pid;
|
||||
unsigned timeout;
|
||||
unsigned verbose;
|
||||
unsigned opts;
|
||||
char *user;
|
||||
char *pass;
|
||||
FILE *fp0; // initial stdin
|
||||
|
@ -19,9 +18,6 @@ struct globals {
|
|||
};
|
||||
|
||||
#define G (*ptr_to_globals)
|
||||
#define timeout (G.timeout )
|
||||
#define verbose (G.verbose )
|
||||
#define opts (G.opts )
|
||||
#define INIT_G() do { \
|
||||
SET_PTR_TO_GLOBALS(xzalloc(sizeof(G))); \
|
||||
G.opt_charset = (char *)CONFIG_FEATURE_MIME_CHARSET; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue