made mutt-ng compile with tcc (thx mika!)
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@176
e385b8ad-14ed-0310-8656-
cc95a2468c6d
else
{
cmp_headers = mbox_strict_cmp_headers;
- rc = ((ctx->magic == M_MBOX) ? mbox_parse_mailbox
- : mmdf_parse_mailbox) (ctx);
+ if (ctx->magic == M_MBOX)
+ rc = mbox_parse_mailbox(ctx);
+ else
+ rc = mmdf_parse_mailbox(ctx);
}
break;
ctx->tree = NULL;
if (ctx->thread_hash)
- hash_destroy (&ctx->thread_hash, *free);
+ hash_destroy (&ctx->thread_hash, free);
}
int compare_threads (const void *a, const void *b)
array[i] = thread;
}
- qsort ((void *) array, i, sizeof (THREAD *), *compare_threads);
+ qsort ((void *) array, i, sizeof (THREAD *), compare_threads);
/* attach them back together. make thread the last sibling. */
thread = array[0];