projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rocco Rutte:
[apps/madmutt.git]
/
addrbook.c
diff --git
a/addrbook.c
b/addrbook.c
index
cdfe015
..
6d34f74
100644
(file)
--- a/
addrbook.c
+++ b/
addrbook.c
@@
-18,6
+18,10
@@
#include "mutt_idna.h"
#include "mutt_idna.h"
+#include "lib/mem.h"
+#include "lib/intl.h"
+#include "lib/str.h"
+
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>
@@
-90,7
+94,7
@@
static int alias_SortAlias (const void *a, const void *b)
{
ALIAS *pa = *(ALIAS **) a;
ALIAS *pb = *(ALIAS **) b;
{
ALIAS *pa = *(ALIAS **) a;
ALIAS *pb = *(ALIAS **) b;
- int r =
mutt
_strcasecmp (pa->name, pb->name);
+ int r =
safe
_strcasecmp (pa->name, pb->name);
return (RSORT (r));
}
return (RSORT (r));
}
@@
-109,7
+113,7
@@
static int alias_SortAddress (const void *a, const void *b)
r = 1;
else if (pa->personal) {
if (pb->personal)
r = 1;
else if (pa->personal) {
if (pb->personal)
- r =
mutt
_strcasecmp (pa->personal, pb->personal);
+ r =
safe
_strcasecmp (pa->personal, pb->personal);
else
r = 1;
}
else
r = 1;
}