* complete copyright information.
*/
-#include <h/mh.h>
-#include <h/mime.h>
-#include <h/mhparse.h>
-#include <h/utils.h>
-#include "../sbr/makedir.h"
+#include "h/mh.h"
+#include "sbr/error.h"
+#include "h/mime.h"
+#include "h/mhparse.h"
+#include "h/utils.h"
+#include "sbr/makedir.h"
#include "mhmisc.h"
extern int debugsw;
char *parts[NPARTS + 1];
char *types[NTYPES + 1];
-int userrs = 0;
+bool userrs;
static char *errs = NULL;
content_error (char *what, CT ct, char *fmt, ...)
{
va_list arglist;
- int i, len, buflen;
+ int len, buflen;
char *bp, buffer[BUFSIZ];
CI ci;
buflen -= len;
}
- i = strlen (invo_name) + 2;
-
/* Now add content type and subtype */
- snprintf (bp, buflen, "\n%*s(content %s/%s", i, "",
+ snprintf (bp, buflen, "\n (content %s/%s",
ci->ci_type, ci->ci_subtype);
len = strlen (bp);
bp += len;
} else {
inform("%s", buffer);
}
+
+ va_end(arglist);
}