X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/da5f7552f1b139e837d13a55c1599953b13368d3..8bb0f8000b86df9270f2410de3fb6f41fa63e88b:/uip/inc.c diff --git a/uip/inc.c b/uip/inc.c index 3d0830e5..210c3b63 100644 --- a/uip/inc.c +++ b/uip/inc.c @@ -46,8 +46,6 @@ # define SASLminc(a) 0 #endif -extern m_getfld_state_t gstate; - static struct swit switches[] = { #define AUDSW 0 { "audit audit-file", 0 }, @@ -173,6 +171,8 @@ static FILE *in; */ char *map_name(char *); +extern m_getfld_state_t gstate; + static void inc_done(int) NORETURN; static int pop_action(char *); static int pop_pack(char *); @@ -589,7 +589,6 @@ go_to_it: fflush (stdout); } - m_getfld_state_init (&gstate); /* * Get the mail from a POP server @@ -724,7 +723,7 @@ go_to_it: * Get the mail from file (usually mail spool) */ if (inc_type == INC_FILE && Maildir == NULL) { - m_unknown (gstate, in); /* the MAGIC invocation... */ + m_unknown (&gstate, in); /* the MAGIC invocation... */ hghnum = msgnum = mp->hghmsg; for (;;) { /*