Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/mail don't check for i and use j.



details:   https://anonhg.NetBSD.org/src/rev/759f0cdeef9a
branches:  trunk
changeset: 782223:759f0cdeef9a
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Oct 21 22:18:16 2012 +0000

description:
don't check for i and use j.

diffstat:

 usr.bin/mail/thread.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a567cadfc2da -r 759f0cdeef9a usr.bin/mail/thread.c
--- a/usr.bin/mail/thread.c     Sun Oct 21 22:04:05 2012 +0000
+++ b/usr.bin/mail/thread.c     Sun Oct 21 22:18:16 2012 +0000
@@ -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 @@
                 */
                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)) {



Home | Main Index | Thread Index | Old Index