*** parse.c.org Tue Dec 15 08:57:02 1998 --- parse.c Tue Dec 15 08:57:56 1998 *************** *** 967,978 **** char didanything=FALSE; while (*iptr) { ! if (!strncmp(iptr, "=?", 2) && ! (4 == sscanf(iptr+2, "%128[^?]?%32[^?]?%128[^?]?%c", ! charset, encoding, blurb, &equal)) && ! ('=' == equal)) { ! /* This is a full, valid 'encoded-word'. Decode! */ ! char *ptr=blurb; didanything=TRUE; /* yes, we decode something */ --- 967,988 ---- char didanything=FALSE; while (*iptr) { ! if (!strncmp(iptr, "=?", 2) && ! (3 == sscanf(iptr+2, "%128[^?]?%32[^?]?%128[^ ]", ! charset, encoding, blurb)) ) { ! /* This is a full, valid 'encoded-word'. Decode! */ ! char *ptr=blurb; ! ! ptr = strstr(blurb, "?="); ! if(ptr) { ! *ptr=0; ! } ! else { ! *output++ = *iptr++; ! /* it wasn't a real encoded-word */ ! continue; ! } ! ptr = blurb; didanything=TRUE; /* yes, we decode something */