Update of /cvsroot/mahogany/M/src/mail
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10214/src/mail
Modified Files:
HeaderInfoImpl.cpp
Log Message:
recover better when connection is lost during message threading
Index: HeaderInfoImpl.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/HeaderInfoImpl.cpp,v
retrieving revision 1.95
retrieving revision 1.96
diff -b -u -2 -r1.95 -r1.96
--- HeaderInfoImpl.cpp 18 Dec 2003 16:00:32 -0000 1.95
+++ HeaderInfoImpl.cpp 8 Apr 2004 13:29:08 -0000 1.96
@@ -1523,4 +1523,7 @@
}
+ // we could have failed to rebuild them above
+ if ( m_thrData && m_thrData->m_root )
+ {
// create m_tableMsgno from m_tableSort and m_tableThread
CombineSortAndThread();
@@ -1530,4 +1533,5 @@
m_reverseOrder = false;
}
+ }
else if ( IsSorting() )
{
@@ -1914,4 +1918,8 @@
{
BuildTables();
+
+ // we could lose connection while sorting/threading
+ if ( !m_count )
+ return;
}
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates