*/
void unlink_message(struct MuttThread **old, struct MuttThread *cur)
{
+ if (!old || !cur)
+ return;
+
struct MuttThread *tmp = NULL;
if (cur->prev)
void insert_message(struct MuttThread **new, struct MuttThread *newparent,
struct MuttThread *cur)
{
+ if (!cur || !new)
+ return;
+
if (*new)
(*new)->prev = cur;
*/
struct Email *find_virtual(struct MuttThread *cur, int reverse)
{
+ if (!cur)
+ return NULL;
+
struct MuttThread *top = NULL;
if (cur->message && (cur->message->virtual >= 0))
*/
void mutt_break_thread(struct Email *e)
{
+ if (!e)
+ return;
+
mutt_list_free(&e->env->in_reply_to);
mutt_list_free(&e->env->references);
e->changed = true;