char buff[LONG_STRING];
char *buff;
int rfc2231_encode (char *dest, size_t l, unsigned char *src){  char buff[LONG_STRING];  unsigned char *s;  char *t;  int encode = 0;  for (s = src; *s && !encode; s++)  {    if (*s & 0x80)      encode = 1;  }  if (!encode)    strfcpy (dest, (char *) src, l);  else  {    for (s = src, t = buff; *s && (t - buff) < sizeof (buff) - 4; s++)    {      if ((*s & 0x80) || *s == '\'')      {	sprintf ((char *) t, "%%%02x", (unsigned int) *s);	t += 3;      }      else	*t++ = *s;    }    *t = '\0';        if (Charset && SendCharset && mutt_strcasecmp (Charset, SendCharset))      mutt_convert_string (buff, LONG_STRING, Charset, SendCharset);    snprintf (dest, l, "%s''%s", SendCharset ? SendCharset :	      (Charset ? Charset : "unknown-8bit"), buff);  }  return encode;}