#include <h/mime.h>
#include <h/mhparse.h>
#include <h/utils.h>
+#include <stdarg.h>
+#include <sys/stat.h>
extern int debugsw;
for (ap = parts; *ap; ap++) {
len = strlen(*ap);
- if (!strncmp(*ap, ct->c_partno, len) &&
+ if (strncmp(*ap, ct->c_partno, len)==0 &&
(!ct->c_partno[len] ||
ct->c_partno[len] == '.' ))
return 1;