~mcf/plan9front

f5188b06779d9be80127958f5720cc17c3633c4d — Ori Bernstein 5 months ago fc5cb22
Mail: remove message about cyclic threads

They happen, and we break the cycle. There's nothing
the user can do, so there's no point in warning.
1 files changed, 2 insertions(+), 3 deletions(-)

M sys/src/cmd/upas/Mail/mbox.c
M sys/src/cmd/upas/Mail/mbox.c => sys/src/cmd/upas/Mail/mbox.c +2 -3
@@ 175,10 175,9 @@ addchild(Mesg *p, Mesg *m, int d)

	assert(m->parent == nil);
	for(q = p; q != nil; q = q->parent){
		if(ideq(m->messageid, q->messageid)){
			fprint(2, "wonky message replies to self\n");
		/* some messages refer to themselves */
		if(ideq(m->messageid, q->messageid))
			return 0;
		}
		if(m->time > q->time)
			q->time = m->time;
	}