Changeset 557:2c8523f9a1c8 for alias.c
Legend:
- Unmodified
- Added
- Removed
-
alias.c
r465 r557 30 30 31 31 for (; t; t = t->next) 32 if (! strcasecmp (s, t->name))32 if (!mutt_strcasecmp (s, t->name)) 33 33 return (t->addr); 34 34 return (NULL); /* no such alias */ … … 53 53 for (u = *expn; u; u = u->next) 54 54 { 55 if ( strcmp (a->mailbox, u->data) == 0) /* alias already found */55 if (mutt_strcmp (a->mailbox, u->data) == 0) /* alias already found */ 56 56 { 57 57 dprint (1, (debugfile, "mutt_expand_aliases_r(): loop in alias found for '%s'\n", a->mailbox)); … … 288 288 { 289 289 if (!ap->group && ap->mailbox && 290 strcasecmp (ap->mailbox, a->mailbox) == 0)290 mutt_strcasecmp (ap->mailbox, a->mailbox) == 0) 291 291 return ap; 292 292 } … … 316 316 { 317 317 if (!bestname[0]) /* init */ 318 strfcpy (bestname, a->name, min ( strlen (a->name) + 1, sizeof (bestname)));318 strfcpy (bestname, a->name, min (mutt_strlen (a->name) + 1, sizeof (bestname))); 319 319 else 320 320 { … … 335 335 else 336 336 { 337 if ( strcmp (bestname, s) == 0) /* add anything to the completion? */337 if (mutt_strcmp (bestname, s) == 0) /* add anything to the completion? */ 338 338 { 339 339 /* build alias list and show it */ … … 370 370 } 371 371 else /* we are adding something to the completion */ 372 strfcpy (s, bestname, strlen (bestname) + 1);372 strfcpy (s, bestname, mutt_strlen (bestname) + 1); 373 373 } 374 374 … … 381 381 382 382 snprintf(buf, sizeof(buf), "%s@%s", NONULL(u), NONULL(d)); 383 if ( strcasecmp(str, buf) == 0)383 if (mutt_strcasecmp(str, buf) == 0) 384 384 return 1; 385 385 … … 396 396 return 0; 397 397 398 if ( strcasecmp (addr->mailbox, NONULL(Username)) == 0)398 if (mutt_strcasecmp (addr->mailbox, Username) == 0) 399 399 return 1; 400 400 if(string_is_address(addr->mailbox, Username, Hostname))
