Module Name:    src
Committed By:   christos
Date:           Sun Oct 21 22:18:16 UTC 2012

Modified Files:
        src/usr.bin/mail: thread.c

Log Message:
don't check for i and use j.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/mail/thread.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/mail/thread.c
diff -u src/usr.bin/mail/thread.c:1.9 src/usr.bin/mail/thread.c:1.10
--- src/usr.bin/mail/thread.c:1.9	Sat Apr 11 10:22:32 2009
+++ src/usr.bin/mail/thread.c	Sun Oct 21 18:18:16 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: thread.c,v 1.9 2009/04/11 14:22:32 christos Exp $	*/
+/*	$NetBSD: thread.c,v 1.10 2012/10/21 22:18:16 christos Exp $	*/
 
 /*-
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #ifndef __lint__
-__RCSID("$NetBSD: thread.c,v 1.9 2009/04/11 14:22:32 christos Exp $");
+__RCSID("$NetBSD: thread.c,v 1.10 2012/10/21 22:18:16 christos Exp $");
 #endif /* not __lint__ */
 
 #include <assert.h>
@@ -1002,7 +1002,7 @@ thread_on_reference(struct message *mp)
 		 */
 		for (j = 0; j < mcount; j++) {
 			/* message_id will be NULL on mbox files */
-			if (marray[i].message_id == NULL)
+			if (marray[j].message_id == NULL)
 				continue;
 
 			if (equal(marray[j].message_id, parent_id)) {

Reply via email to