[prev in list] [next in list] [prev in thread] [next in thread] 

List:       imap
Subject:    4.3 Bug & Fix
From:       Phil Thompson <phil () river-bank ! demon ! co ! uk>
Date:       1998-09-08 22:56:21
[Download RAW message or body]

Apologies if this has already been reported.

Phil

--- mail.c.orig Tue Sep  8 23:41:32 1998
+++ mail.c      Tue Sep  8 23:42:34 1998
@@ -2467,8 +2467,12 @@
       if (i > j) {             /* swap the range if backwards */
        x = i; i = j; j = x;
       }
+
+      x = mail_msgno (stream,i);
+      y = mail_msgno (stream,j);
+
                                /* easy if both UIDs valid */
-      if ((x = mail_msgno (stream,i)) && (y = mail_msgno (stream,j)))
+      if (x && y)
        while (x <= y) mail_elt (stream,x++)->sequence = T;
                                /* start UID valid, end is not */
       else if (x) while ((x <= stream->nmsgs) && (mail_uid (stream,x)
<= j))

-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/imap/imap-list.html
-----------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic