# define SASLminc(a) 0
#endif
+extern m_getfld_state_t gstate;
+
static struct swit switches[] = {
#define AUDSW 0
{ "audit audit-file", 0 },
fflush (stdout);
}
+ m_getfld_state_init (&gstate);
+
/*
* Get the mail from a POP server
*/
* Get the mail from file (usually mail spool)
*/
if (inc_type == INC_FILE && Maildir == NULL) {
- m_unknown (in); /* the MAGIC invocation... */
+ m_unknown (gstate, in); /* the MAGIC invocation... */
hghnum = msgnum = mp->hghmsg;
for (;;) {
/*
free (Maildir); /* From now on Maildir is just a flag - don't dref! */
}
+ m_getfld_state_destroy (&gstate);
+
if (incerr < 0) { /* error */
if (locked) {
GETGROUPPRIVS(); /* Be sure we can unlock mail file */