fprintf (f, "Content-Disposition: %s", DISPOSITION (a->disposition));
int mutt_write_mime_header (BODY *a, FILE *f){  PARAMETER *p;  char buffer[STRING];  char tmp[STRING];  char *t;  char *fn;  int len;  int tmplen;  int encode;    fprintf (f, "Content-Type: %s/%s", TYPE (a), a->subtype);  if (a->parameter)  {    len = 25 + mutt_strlen (a->subtype); /* approximate len. of content-type */    for(p = a->parameter; p; p = p->next)    {            if(!p->value)	continue;            fputc (';', f);      buffer[0] = 0;      encode = rfc2231_encode (tmp, sizeof (tmp), (unsigned char *) p->value);      rfc822_cat (buffer, sizeof (buffer), tmp, MimeSpecials);      /* Dirty hack to make messages readable by Outlook Express        * for the Mac: force quotes around the boundary parameter       * even when they aren't needed.       */      if (!strcasecmp (p->attribute, "boundary") && !strcmp (buffer, tmp))	snprintf (buffer, sizeof (buffer), "\"%s\"", tmp);            tmplen = mutt_strlen (buffer) + mutt_strlen (p->attribute) + 1;      if (len + tmplen + 2 > 76)      {	fputs ("\n\t", f);	len = tmplen + 8;      }      else      {	fputc (' ', f);	len += tmplen + 1;      }      fprintf (f, "%s%s=%s", p->attribute, encode ? "*" : "", buffer);    }  }  fputc ('\n', f);  if (a->description)    fprintf(f, "Content-Description: %s\n", a->description);  if (a->use_disp && (a->disposition == DISPATTACH || a->filename || a->d_filename))  {    fprintf (f, "Content-Disposition: %s", DISPOSITION (a->disposition));    if(!(fn = a->d_filename))      fn = a->filename;        if (fn)    {      /* Strip off the leading path... */      if ((t = strrchr (fn, '/')))	t++;      else	t = fn;            buffer[0] = 0;      encode = rfc2231_encode (tmp, sizeof (tmp), (unsigned char *) t);      rfc822_cat (buffer, sizeof (buffer), tmp, MimeSpecials);      fprintf (f, "; filename%s=%s", encode ? "*" : "", buffer);    }    fputc ('\n', f);  }  if (a->encoding != ENC7BIT)    fprintf(f, "Content-Transfer-Encoding: %s\n", ENCODING (a->encoding));  /* Do NOT add the terminator here!!! */  return (ferror (f) ? -1 : 0);}