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

List:       kde-commits
Subject:    branches/work/kdepim-3.5.5+/kpilot/lib
From:       Jason vanRijn Kasper <vR () movingparts ! net>
Date:       2007-03-22 17:38:40
Message-ID: 1174585120.569199.31247.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 645474 by vanrijn:

must, must, must, must, must check dynamic_cast for valid result

 M  +4 -4      branches/work/kdepim-3.5.5+/kpilot/lib/kpilotdevicelink.cc  


--- branches/work/kdepim-3.5.5+/kpilot/lib/kpilotdevicelink.cc #645473:645474
@@ -683,7 +683,7 @@
 		else
 		{
 			DEBUGKPILOT << fname
-				<< ": unable to cast event: [" << t << "]" << endl;
+				<< ": unable to cast event: [" << e << "]" << endl;
 		}
 	}
 	else if ((int)e->type() == EventLogMessage)
@@ -696,7 +696,7 @@
 		else
 		{
 			DEBUGKPILOT << fname
-				<< ": unable to cast event: [" << t << "]" << endl;
+				<< ": unable to cast event: [" << e << "]" << endl;
 		}
 	}
 	else if ((int)e->type() == EventLogError)
@@ -709,7 +709,7 @@
 		else
 		{
 			DEBUGKPILOT << fname
-				<< ": unable to cast event: [" << t << "]" << endl;
+				<< ": unable to cast event: [" << e << "]" << endl;
 		}
 	}
 	else if ((int)e->type() == EventLogProgress)
@@ -722,7 +722,7 @@
 		else
 		{
 			DEBUGKPILOT << fname
-				<< ": unable to cast event: [" << t << "]" << endl;
+				<< ": unable to cast event: [" << e << "]" << endl;
 		}
 	}
 	else
[prev in list] [next in list] [prev in thread] [next in thread] 

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