Changeset 364:efa46a89a622 for attach.c
Legend:
- Unmodified
- Added
- Removed
-
attach.c
r358 r364 48 48 rfc1524_entry *entry = rfc1524_new_entry (); 49 49 50 snprintf (type, sizeof (type), "%s/%s", TYPE (a ->type), a->subtype);50 snprintf (type, sizeof (type), "%s/%s", TYPE (a), a->subtype); 51 51 if (rfc1524_mailcap_lookup (a, type, entry, M_COMPOSE)) 52 52 { … … 166 166 rfc1524_entry *entry = rfc1524_new_entry (); 167 167 168 snprintf (type, sizeof (type), "%s/%s", TYPE (a ->type), a->subtype);168 snprintf (type, sizeof (type), "%s/%s", TYPE (a), a->subtype); 169 169 if (rfc1524_mailcap_lookup (a, type, entry, M_EDIT)) 170 170 { … … 262 262 use_mailcap = (flag == M_MAILCAP || 263 263 (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); 265 265 266 266 if (use_mailcap) … … 736 736 FILE *ifp, *fpout; 737 737 738 snprintf (type, sizeof (type), "%s/%s", TYPE (a ->type), a->subtype);738 snprintf (type, sizeof (type), "%s/%s", TYPE (a), a->subtype); 739 739 740 740 if (rfc1524_mailcap_lookup (a, type, NULL, M_PRINT))
