#include <stddef.h>
-#include "stringbuf_test.h"
#include "../lib/libcitadel.h"
/* shamelesly copied from msgbase.h */
char *MimeStr;
struct ma_info ma;
int do_proto = 0;
+ int dont_decode = 1;
setvbuf(stdout, NULL, _IONBF, 0);
- while ((a = getopt(argc, argv, "F:f:p")) != EOF)
+ while ((a = getopt(argc, argv, "dpf:")) != EOF)
{
switch (a) {
case 'f':
case 'p':
do_proto = 1;
break;
+ case 'd':
+ dont_decode = 0;
+ break;
}
}
StartLibCitadel(8);
(do_proto ? *list_this_part : NULL),
(do_proto ? *list_this_pref : NULL),
(do_proto ? *list_this_suff : NULL),
- (void *)&ma, 1);
+ (void *)&ma, dont_decode);
free(MimeStr);