** complete copyright information.
*/
-#include <h/nmh.h>
-#include <h/utils.h>
-
#include <h/mh.h>
+#include <h/utils.h>
#include <h/dropsbr.h>
#include <h/tws.h>
#include <errno.h>
#include <fcntl.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <sys/stat.h>
/*
#endif
case ETXTBSY:
i = errno;
- sleep(5);
- break;
+ sleep(1);
+ continue;
default:
/* just return error */
fp = strchr(ep + 1, '\n');
tp = dctime(dlocaltimenow());
snprintf(buffer, sizeof(buffer),
- "From %.*s %s",
+ "From %.*s %s",
(int)(fp-ep), ep, tp);
} else if (strncmp(buffer, "X-Envelope-From:",
16)==0) {
ep = "nobody@nowhere";
tp = dctime(dlocaltimenow());
snprintf(buffer, sizeof(buffer),
- "From %s %s%s", ep, tp,
+ "From %s %s%s", ep, tp,
tmpbuffer);
}
}