goto finished;
default:
- adios (NULL, "getfld() returned %d", state);
+ die("getfld() returned %d", state);
}
}
if (scnout && (ferror(scnout) || fclose (scnout) == EOF))
DIEWRERR();
- return (state != FILEEOF ? SCNERR : encrypted ? SCNENC : SCNMSG);
+ return state != FILEEOF ? SCNERR : encrypted ? SCNENC : SCNMSG;
}
/* The following two functions allow access to the global gstate above. */
void
-scan_finished(void) {
+scan_finished(void)
+{
m_getfld_state_destroy (&gstate);
}
void
-scan_detect_mbox_style (FILE *f) {
+scan_detect_mbox_style (FILE *f)
+{
m_unknown (&gstate, f);
}