Changeset 364:efa46a89a622 for attach.c

Show
Ignore:
Timestamp:
1998-08-20 15:32:34 (10 years ago)
Author:
Thomas Roessler <roessler@…>
Branch:
mutt-0-94
Message:

[patch-0.94.3.bl.other_types.1] This patch adds support
for the model MIME type. Additionally, along the lines of
"strict in what you generate, accepting in what you
receive", this patch will keep the name of major mime
types it doesn't recognize (instead of using x-unknown).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • attach.c

    r358 r364  
    4848  rfc1524_entry *entry = rfc1524_new_entry (); 
    4949 
    50   snprintf (type, sizeof (type), "%s/%s", TYPE (a->type), a->subtype); 
     50  snprintf (type, sizeof (type), "%s/%s", TYPE (a), a->subtype); 
    5151  if (rfc1524_mailcap_lookup (a, type, entry, M_COMPOSE)) 
    5252  { 
     
    166166  rfc1524_entry *entry = rfc1524_new_entry (); 
    167167 
    168   snprintf (type, sizeof (type), "%s/%s", TYPE (a->type), a->subtype); 
     168  snprintf (type, sizeof (type), "%s/%s", TYPE (a), a->subtype); 
    169169  if (rfc1524_mailcap_lookup (a, type, entry, M_EDIT)) 
    170170  { 
     
    262262  use_mailcap = (flag == M_MAILCAP || 
    263263                (flag == M_REGULAR && mutt_needs_mailcap (a))); 
    264   snprintf (type, sizeof (type), "%s/%s", TYPE (a->type), a->subtype); 
     264  snprintf (type, sizeof (type), "%s/%s", TYPE (a), a->subtype); 
    265265   
    266266  if (use_mailcap) 
     
    736736  FILE *ifp, *fpout; 
    737737 
    738   snprintf (type, sizeof (type), "%s/%s", TYPE (a->type), a->subtype); 
     738  snprintf (type, sizeof (type), "%s/%s", TYPE (a), a->subtype); 
    739739 
    740740  if (rfc1524_mailcap_lookup (a, type, NULL, M_PRINT))