void mhstoreinfo_free(mhstoreinfo_t);
void store_all_messages (mhstoreinfo_t);
-extern int skip_mp_cte_check;
-extern int suppress_bogus_mp_content_warning;
-extern int bogus_mp_content;
-extern int suppress_extraneous_trailing_semicolon_warning;
+extern bool skip_mp_cte_check;
+extern bool suppress_bogus_mp_content_warning;
+extern bool bogus_mp_content;
+extern bool suppress_extraneous_trailing_semicolon_warning;
-extern int suppress_multiple_mime_version_warning;
+extern bool suppress_multiple_mime_version_warning;
#define NPREFS 20
extern char *preferred_types[NPREFS];
fclose (fp);
}
- suppress_bogus_mp_content_warning = skip_mp_cte_check = 1;
- suppress_extraneous_trailing_semicolon_warning = 1;
+ suppress_bogus_mp_content_warning = skip_mp_cte_check = true;
+ suppress_extraneous_trailing_semicolon_warning = true;
if (! context_find ("path")) {
free (path ("./", TFOLDER));
* 3) Suppress the warning about extraneous trailing ';' in header parameter
* lists.
*/
-int skip_mp_cte_check;
-int suppress_bogus_mp_content_warning;
-int bogus_mp_content;
-int suppress_extraneous_trailing_semicolon_warning;
+bool skip_mp_cte_check;
+bool suppress_bogus_mp_content_warning;
+bool bogus_mp_content;
+bool suppress_extraneous_trailing_semicolon_warning;
/*
* By default, suppress warning about multiple MIME-Version header fields.
*/
-int suppress_multiple_mime_version_warning = 1;
+bool suppress_multiple_mime_version_warning = true;
/* list of preferred type/subtype pairs, for -prefer */
char *preferred_types[NPREFS];
size_t n;
struct stat statbuf;
- bogus_mp_content = 0;
+ bogus_mp_content = false;
/*
* Check if file is actually standard input
if (! suppress_bogus_mp_content_warning) {
inform("bogus multipart content in message %s", ct->c_file);
}
- bogus_mp_content = 1;
+ bogus_mp_content = true;
if (!inout && part) {
p = part->mp_part;