X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=thread.c;h=e0195333f6542c970f874098244efc401469638d;hp=814e00e9972b8fd3c8a79657f2fd252cb3e54568;hb=1b29c92e5a96be51f4a16728a73485eb4daf6563;hpb=0f44dc85fc1280372ffab911d701e703d803fb4b diff --git a/thread.c b/thread.c index 814e00e..e019533 100644 --- a/thread.c +++ b/thread.c @@ -338,7 +338,7 @@ static LIST *make_subject_list (THREAD * cur, time_t * dateptr) ((env->real_subj != env->subject) || (!option (OPTSORTRE)))) { for (curlist = subjects, oldlist = NULL; curlist; oldlist = curlist, curlist = curlist->next) { - rc = safe_strcmp (env->real_subj, curlist->data); + rc = mutt_strcmp (env->real_subj, curlist->data); if (rc >= 0) break; } @@ -398,7 +398,7 @@ static THREAD *find_subject (CONTEXT * ctx, THREAD * cur) (last->message->received < tmp->message->received) : (last->message->date_sent < tmp->message->date_sent))) && tmp->message->env->real_subj && - safe_strcmp (subjects->data, tmp->message->env->real_subj) == 0) + mutt_strcmp (subjects->data, tmp->message->env->real_subj) == 0) last = tmp; /* best match so far */ } @@ -471,7 +471,7 @@ static void pseudo_threads (CONTEXT * ctx) * parent, since otherwise they rightly belong to the message * we're attaching. */ if (tmp == cur - || !safe_strcmp (tmp->message->env->real_subj, + || !mutt_strcmp (tmp->message->env->real_subj, parent->message->env->real_subj)) { tmp->message->subject_changed = 0; @@ -669,7 +669,7 @@ static void check_subjects (CONTEXT * ctx, int init) if (!tmp) cur->subject_changed = 1; else if (cur->env->real_subj && tmp->message->env->real_subj) - cur->subject_changed = safe_strcmp (cur->env->real_subj, + cur->subject_changed = mutt_strcmp (cur->env->real_subj, tmp->message->env-> real_subj) ? 1 : 0; else @@ -821,7 +821,7 @@ void mutt_sort_threads (CONTEXT * ctx, int init) if (!cur->env->references) ref = ref->next; else { - if (safe_strcmp (ref->data, cur->env->references->data)) + if (mutt_strcmp (ref->data, cur->env->references->data)) ref = cur->env->references; else ref = cur->env->references->next;