* complete copyright information.
*/
-#include <h/nmh.h>
-#include <h/mh.h>
-#include <h/utils.h>
-#include <h/dropsbr.h>
-#include <h/mts.h>
-#include <h/tws.h>
+#include "h/nmh.h"
+#include "h/mh.h"
+#include "sbr/dtime.h"
+#include "sbr/strindex.h"
+#include "sbr/error.h"
+#include "h/utils.h"
+#include "h/dropsbr.h"
+#include "h/mts.h"
+#include "h/tws.h"
#include "sbr/lock_file.h"
#include "sbr/m_mktemp.h"
#include <fcntl.h>
if (write (md, MMDF_DELIM, j) != j)
return NOTOK;
- return i != NOTOK ? OK : NOTOK;
+ return i == NOTOK ? NOTOK : OK;
case MBOX_FORMAT:
if ((j = dup (fd)) == NOTOK)
* If there is already a "From " line,
* then leave it alone. Else we add one.
*/
- char tmpbuffer[sizeof buffer];
+ char tmpbuffer[sizeof buffer-7];
char *tp, *ep;
strncpy(tmpbuffer, buffer, sizeof(tmpbuffer));