diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1998-11-10 22:14:00 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1998-11-10 22:14:00 +0000 |
commit | a3f726e35f1e7d918061074a85ebe7a2c7c300a5 (patch) | |
tree | d9ab2a281be2a13fbb1ec8682d4e5c7ff0502cde /addrbook.c | |
parent | 912c6b0df82fe3a2745d68131db9300222226a73 (diff) |
Introduce or rewrite mutt_{str*cmp,strlen} and use them all over the
place. If there are still segmentation faults due to missing
NONULLs over, they are gone now.
Diffstat (limited to 'addrbook.c')
-rw-r--r-- | addrbook.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -93,7 +93,7 @@ static int alias_SortAlias (const void *a, const void *b) { ALIAS *pa = *(ALIAS **) a; ALIAS *pb = *(ALIAS **) b; - int r = strcasecmp (pa->name, pb->name); + int r = mutt_strcasecmp (pa->name, pb->name); return (RSORT (r)); } @@ -107,14 +107,14 @@ static int alias_SortAddress (const void *a, const void *b) if (pa->personal) { if (pb->personal) - r = strcasecmp (pa->personal, pb->personal); + r = mutt_strcasecmp (pa->personal, pb->personal); else r = 1; } else if (pb->personal) r = -1; else - r = strcasecmp (pa->mailbox, pb->mailbox); + r = mutt_strcasecmp (pa->mailbox, pb->mailbox); return (RSORT (r)); } |