X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sort.c;h=d97535ffe0de6cfad8d0a9d11f87cb1e2d3b70c3;hp=505679cdcf73a4d33277b27c1a49cf553ed8e497;hb=f667a765e089dbfbc2d7634e238ff2a4b3353068;hpb=455a2390989dfcfc90899785b0d8e9ac94ebd28e diff --git a/sort.c b/sort.c index 505679c..d97535f 100644 --- a/sort.c +++ b/sort.c @@ -9,7 +9,7 @@ #include -#include +#include #include "mutt.h" #include "alias.h" @@ -153,18 +153,8 @@ static int compare_order (const void *a, const void *b) { HEADER **ha = (HEADER **) a; HEADER **hb = (HEADER **) b; - -#ifdef USE_NNTP - if ((*ha)->article_num && (*hb)->article_num) { - int result = (*ha)->article_num - (*hb)->article_num; - - AUXSORT (result, a, b); - return (SORTCODE (result)); - } - else -#endif - /* no need to auxsort because you will never have equality here */ - return (SORTCODE ((*ha)->index - (*hb)->index)); + /* no need to auxsort because you will never have equality here */ + return (SORTCODE ((*ha)->index - (*hb)->index)); } static int compare_spam (const void *a, const void *b)