X-Git-Url: http://git.madism.org/?a=blobdiff_plain;ds=sidebyside;f=sort.c;fp=sort.c;h=d97535ffe0de6cfad8d0a9d11f87cb1e2d3b70c3;hb=cfd5f411041c7ef44087b032751792fadc74586d;hp=3e1e92c7bcd831802f082318e6dc1ee81f3f506c;hpb=4b2f5f58e6b8e65e8524596d16752f7f1e5d58ca;p=apps%2Fmadmutt.git diff --git a/sort.c b/sort.c index 3e1e92c..d97535f 100644 --- a/sort.c +++ b/sort.c @@ -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)