Changeset 557:2c8523f9a1c8 for attach.c
Legend:
- Unmodified
- Added
- Removed
-
attach.c
r553 r557 257 257 { 258 258 /* On text, default to editor */ 259 mutt_edit_file ((!Editor || strcmp ("builtin", Editor) == 0) ?259 mutt_edit_file ((!Editor || mutt_strcmp ("builtin", Editor) == 0) ? 260 260 NONULL(Visual) : NONULL(Editor), newfile); 261 261 } … … 285 285 while (t) 286 286 { 287 i = strlen (t->data) - 1;287 i = mutt_strlen (t->data) - 1; 288 288 if ((i > 0 && t->data[i-1] == '/' && t->data[i] == '*' && 289 strncasecmp (type, t->data, i) == 0) ||290 strcasecmp (type, t->data) == 0)289 mutt_strncasecmp (type, t->data, i) == 0) || 290 mutt_strcasecmp (type, t->data) == 0) 291 291 return 1; 292 292 t = t->next; … … 360 360 tempfile, sizeof (tempfile))) 361 361 { 362 if (fp == NULL && strcmp(tempfile, a->filename))362 if (fp == NULL && mutt_strcmp(tempfile, a->filename)) 363 363 { 364 364 /* send case: the file is already there */ … … 860 860 } 861 861 862 if (! strcasecmp ("text/plain", a->subtype) ||863 ! strcasecmp ("application/postscript", a->subtype))862 if (!mutt_strcasecmp ("text/plain", a->subtype) || 863 !mutt_strcasecmp ("application/postscript", a->subtype)) 864 864 { 865 865 return (mutt_pipe_attachment (fp, a, NONULL(PrintCmd), NULL));
