From 1c18a497c8b2cf9383c6269920413cbed49683d3 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 27 Mar 1999 15:01:03 +0000 Subject: Fix PGP-mimedecode. svn path=/trunk/; revision=2413 --- unmime.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'unmime.c') diff --git a/unmime.c b/unmime.c index 7d60b546..6e7362b4 100644 --- a/unmime.c +++ b/unmime.c @@ -45,7 +45,6 @@ static int qp_char(unsigned char c1, unsigned char c2, unsigned char *c_out) } - /* * Routines to decode MIME QP-encoded headers, as per RFC 2047. */ @@ -457,7 +456,7 @@ int MimeBodyType(unsigned char *hdrs, int WantDecode) /* Check Content-Type to see if this is a multipart message */ if ( (CntType != NULL) && - ((strncasecmp(CntType, "multipart/", 10) == 0) || + ((strncasecmp(CntType, "multipart/mixed", 16) == 0) || (strncasecmp(CntType, "message/", 8) == 0)) ) { char *p1 = GetBoundary(CntType); -- cgit v1.2.3