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

Modified Files:
        MFPool.cpp 
Log Message:
added some debugging msgs

Index: MFPool.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MFPool.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -b -u -2 -r1.4 -r1.5
--- MFPool.cpp  2 Sep 2002 10:43:05 -0000       1.4
+++ MFPool.cpp  6 Sep 2002 19:23:42 -0000       1.5
@@ -37,4 +37,11 @@
 
 // ----------------------------------------------------------------------------
+// constants
+// ----------------------------------------------------------------------------
+
+// our debugging trace mask
+#define TRACE_MFPOOL "mfpool"
+
+// ----------------------------------------------------------------------------
 // global module variables
 // ----------------------------------------------------------------------------
@@ -201,4 +208,6 @@
 
    pool->connections.push_back(new MFConnection(mf, spec));
+
+   wxLogTrace(TRACE_MFPOOL, "Added '%s' to the pool.", mf->GetName().c_str());
 }
 
@@ -244,4 +253,7 @@
          if ( i->mf == mf )
          {
+            wxLogTrace(TRACE_MFPOOL, "Removing '%s' from the pool.",
+                       mf->GetName().c_str());
+
             pool->connections.erase(i);
 
@@ -258,4 +270,6 @@
 void MFPool::DeleteAll()
 {
+   wxLogTrace(TRACE_MFPOOL, "Clearing the pool.");
+
    for ( MFClassPoolList::iterator pool = gs_pool.begin();
          pool != gs_pool.end();



-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to