[pan2: 118/268] corrected description of bugfix, forgot while loop condition



commit 06577b3efc1ea5f3949dcbe777e047b4b4b9a52d
Author: Heinrich MÃller <sphemuel stud informatik uni-erlangen de>
Date:   Thu Jul 7 15:06:49 2011 +0200

    corrected description of bugfix, forgot while loop condition

 pan/tasks/task-xover.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pan/tasks/task-xover.cc b/pan/tasks/task-xover.cc
index ceada0d..85ac342 100644
--- a/pan/tasks/task-xover.cc
+++ b/pan/tasks/task-xover.cc
@@ -293,7 +293,7 @@ TaskXOver :: on_nntp_line         (NNTP               * nntp,
   ok = ok && l.pop_token (date, '\t');   if (ok) date.trim ();
   ok = ok && l.pop_token (mid, '\t');    if (ok) mid.trim ();
 
-  // bugfix: handle multiple References correctly.
+  //handle multiple "References:"-message-ids correctly.
   ok = ok && l.pop_token (tmp, '\t');
   do
   {
@@ -304,7 +304,7 @@ TaskXOver :: on_nntp_line         (NNTP               * nntp,
       ref += tmp;
       tmp.clear();
     } else break;
-  } while (ok && l.pop_token (tmp, '\t')) ;
+  } while ((ok = ok && l.pop_token (tmp, '\t'))) ;
 
                                          if (ok) bytes = view_to_ul (tmp); tmp.clear();
   ok = ok && l.pop_token (tmp, '\t');    if (ok) lines = view_to_ul (tmp);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]