+ if (has_attachments) if (!strncmp(buf, boundary, strlen(boundary))) {
+ ++current_section;
+ }
+ if (current_section == desired_section) {
+ if ( (has_attachments == 0) || (strncmp(buf, boundary, strlen(boundary)))) {
+ cprintf("%s\n", buf);
+ }
+ }