Update of /cvsroot/mahogany/M/src/mail
In directory usw-pr-cvs1:/tmp/cvs-serv8124/src/mail

Modified Files:
        MessageCC.cpp 
Log Message:
fixed bug in GetAllHeaders() return value which led to crash when editing (i.e. 
opening in composer) some messages

Index: MessageCC.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MessageCC.cpp,v
retrieving revision 1.130
retrieving revision 1.131
diff -b -u -2 -r1.130 -r1.131
--- MessageCC.cpp       8 Jul 2002 14:24:25 -0000       1.130
+++ MessageCC.cpp       14 Aug 2002 20:31:36 -0000      1.131
@@ -591,7 +591,4 @@
    s.reserve(1024);
 
-   // number of headers so far
-   size_t numHeaders = 0;
-
    // we are first looking for the name (before ':') and the value (after)
    bool inName = true;
@@ -691,6 +688,4 @@
                }
 
-               numHeaders++;
-
                s.clear();
 
@@ -714,5 +709,5 @@
    }
 
-   return numHeaders;
+   return names.GetCount();
 }
 



-------------------------------------------------------
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to