char buf[BUFLEN], mmbuf[BUFLEN];
char buf[LINE_LENGTH], mmbuf[LINE_LENGTH];
PUBLIC void HTmmdecode ARGS2(	char *, 	trg,	char *, 	str){    char buf[BUFLEN], mmbuf[BUFLEN];    char *s, *t, *u;    int  base64, quote;    buf[0] = '\0';    for (s = str, u = buf; *s; ) {	if (!strncasecomp(s, "=?ISO-2022-JP?B?", 16)) {	    base64 = 1;	} else {	    base64 = 0;	}	if (!strncasecomp(s, "=?ISO-2022-JP?Q?", 16)) {	    quote = 1;	} else {	    quote = 0;	}	if (base64 || quote) {	    if (HTmmcont) {		for (t = s - 1;		    t >= str && (*t == ' ' || *t == '\t'); t--) {			u--;		}	    }	    for (s += 16, t = mmbuf; *s; ) {		if (s[0] == '?' && s[1] == '=') {		    break;		} else {		    *t++ = *s++;		}	    }	    if (s[0] != '?' || s[1] != '=') {		goto end;	    } else {		s += 2;		*t = '\0';	    }	    if (base64)		HTmmdec_base64(mmbuf, mmbuf);	    if (quote)		HTmmdec_quote(mmbuf, mmbuf);	    for (t = mmbuf; *t; )		*u++ = *t++;	    HTmmcont = 1;	    /* if (*s == ' ' || *s == '\t') *u++ = *s; */	    /* for ( ; *s == ' ' || *s == '\t'; s++) ; */	} else {	    if (*s != ' ' && *s != '\t')		HTmmcont = 0;	    *u++ = *s++;	}    }    *u = '\0';end:    strcpy(trg, buf);}