projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix segfault in hcache due to bad typing.
[apps/madmutt.git]
/
sort.c
diff --git
a/sort.c
b/sort.c
index
c19ef98
..
6b6d737
100644
(file)
--- a/
sort.c
+++ b/
sort.c
@@
-11,20
+11,20
@@
# include "config.h"
#endif
# include "config.h"
#endif
+#include <stdlib.h>
+#include <string.h>
+#include <ctype.h>
+#include <unistd.h>
+
#include <lib-lib/macros.h>
#include <lib-lib/str.h>
#include "mutt.h"
#include <lib-lib/macros.h>
#include <lib-lib/str.h>
#include "mutt.h"
+#include "alias.h"
#include "sort.h"
#include "thread.h"
#include "mutt_idna.h"
#include "sort.h"
#include "thread.h"
#include "mutt_idna.h"
-
-#include <stdlib.h>
-#include <string.h>
-#include <ctype.h>
-#include <unistd.h>
-
#define SORTCODE(x) (Sort & SORT_REVERSE) ? -(x) : x
/* function to use as discriminator when normal sort method is equal */
#define SORTCODE(x) (Sort & SORT_REVERSE) ? -(x) : x
/* function to use as discriminator when normal sort method is equal */
@@
-94,7
+94,7
@@
const char *mutt_get_name (address_t * a)
const char *name = "";
if (a) {
const char *name = "";
if (a) {
- if (option (OPTREVALIAS) && (ali = alias_reverse_lookup
(a))
+ if (option (OPTREVALIAS) && (ali = alias_reverse_lookup(a))
&& ali->personal)
name = ali->personal;
else if (a->personal)
&& ali->personal)
name = ali->personal;
else if (a->personal)