X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sort.c;h=6235cc6741cdc70bc5a6439b2ddb014ff92b4e44;hp=20bc777a1c2094e51cc79ad32b11d0351b6bfe5d;hb=debd2491451020d9fd5f0440bb2dada0b9eac6e7;hpb=0f44dc85fc1280372ffab911d701e703d803fb4b diff --git a/sort.c b/sort.c index 20bc777..6235cc6 100644 --- a/sort.c +++ b/sort.c @@ -213,13 +213,13 @@ int compare_spam (const void *a, const void *b) /* If either aptr or bptr is equal to data, there is no numeric */ /* value for that spam attribute. In this case, compare lexically. */ if ((aptr == (*ppa)->env->spam->data) || (bptr == (*ppb)->env->spam->data)) - return (SORTCODE (safe_strcmp (aptr, bptr))); + return (SORTCODE (mutt_strcmp (aptr, bptr))); /* Otherwise, we have numeric value for both attrs. If these values */ /* are equal, then we first fall back upon string comparison, then */ /* upon auxiliary sort. */ if (result == 0) { - result = safe_strcmp (aptr, bptr); + result = mutt_strcmp (aptr, bptr); if (result == 0) AUXSORT (result, a, b); }