#include <h/md5.h>
#include <errno.h>
#include <signal.h>
-#include <h/mts.h>
#include <h/tws.h>
#include <h/mime.h>
#include <h/mhparse.h>
ap = brkstring(ci->ci_magic, " ", "\n");
copyip(ap, arguments, MAXARGS);
} else {
- arguments[0] = "cur";
+ arguments[0] = seq_cur;
arguments[1] = NULL;
}
folder = NULL;
if ((out = fopen(ce->ce_file, "w")) == NULL)
adios(ce->ce_file, "unable to open for writing");
- for (i = 0; (child_id = vfork()) == NOTOK && i > 5; i++)
+ for (i = 0; (child_id = fork()) == NOTOK && i > 5; i++)
sleep(5);
switch (child_id) {
case NOTOK:
if (!isspace(*cp))
break;
*++cp = '\0';
- if (!strncmp(buffer + 2, prefix, len) &&
+ if (strncmp(buffer + 2, prefix, len)==0 &&
isdigit(buffer[2 + len])) {
boundaryclash = 1;
/* no need to keep checking */
switch (ct->c_encoding) {
case CE_7BIT:
/* Nothing to output */
-#if 0
- np = getcpy(ENCODING_FIELD);
- vp = concat(" ", "7bit", "\n", NULL);
- add_header(ct, np, vp);
-#endif
break;
case CE_8BIT: