+ compnum = -1;
+ if (!incing) {
+ /* stop here if scan cmd */
+ if (scanfolder) {
+ state = FILEEOF;
+ goto finished;
+ }
+ /* for mboxes: snarf the body */
+ while (state == BODY) {
+ state = m_getfld(state, name, tmpbuf,
+ SBUFSIZ, inb);
+ }
+ goto finished;
+ }
+ FPUTS("\n");
+ FPUTS(tmpbuf);
+body:;
+ while (state == BODY) {
+ state = m_getfld(state, name, tmpbuf, SBUFSIZ,
+ inb);
+ FPUTS(tmpbuf);
+ }