X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/de06ed5f176a5fa3eb5522bb9a9741f9c3f1d0f4..6396778780e014c789e3d18a0880525ee1cde4f6:/uip/mhparse.c diff --git a/uip/mhparse.c b/uip/mhparse.c index 904c1237..fda2de0b 100644 --- a/uip/mhparse.c +++ b/uip/mhparse.c @@ -20,6 +20,7 @@ #ifdef HAVE_ICONV # include #endif /* HAVE_ICONV */ +#include "../sbr/base64.h" extern int debugsw; @@ -1366,7 +1367,7 @@ static void prefer_parts(CT ct) { int i; - for (i = npreferred-1; i >= 0; i--) + for (i = 0; i < npreferred; i++) move_preferred_part(ct, preferred_types[i], preferred_subtypes[i]); }