From: Julien Danjou Date: Sat, 25 Nov 2006 17:10:56 +0000 (+0100) Subject: Kill shadow declaratin of brk X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=7e6ea12f3d017b6a04d86862e42ef3fd23780d8e;p=apps%2Fmadmutt.git Kill shadow declaratin of brk Signed-off-by: Julien Danjou Signed-off-by: Pierre Habouzit --- diff --git a/thread.c b/thread.c index 09bd915..e34c543 100644 --- a/thread.c +++ b/thread.c @@ -1224,7 +1224,7 @@ HASH *mutt_make_subj_hash (CONTEXT * ctx) return hash; } -static void clean_references (THREAD * brk, THREAD * cur) +static void clean_references (THREAD * tbrk, THREAD * cur) { THREAD *p; string_list_t *ref = NULL; @@ -1232,7 +1232,7 @@ static void clean_references (THREAD * brk, THREAD * cur) for (; cur; cur = cur->next, done = 0) { /* parse subthread recursively */ - clean_references (brk, cur->child); + clean_references (tbrk, cur->child); if (!cur->message) break; /* skip pseudo-message */ @@ -1240,7 +1240,7 @@ static void clean_references (THREAD * brk, THREAD * cur) /* Looking for the first bad reference according to the new threading. * Optimal since Mutt stores the references in reverse order, and the * first loop should match immediatly for mails respecting RFC2822. */ - for (p = brk; !done && p; p = p->parent) + for (p = tbrk; !done && p; p = p->parent) for (ref = cur->message->env->references; p->message && ref; ref = ref->next) if (!m_strcasecmp(ref->data, p->message->env->message_id)) {