[Freeswitch-svn] [commit] r2072 - freeswitch/branches/mishehu/src/mod/loggers/mod_cdr

Freeswitch SVN mishehu at freeswitch.org
Mon Jul 24 00:50:44 EDT 2006


Author: mishehu
Date: Mon Jul 24 00:50:44 2006
New Revision: 2072

Modified:
   freeswitch/branches/mishehu/src/mod/loggers/mod_cdr/basecdr.cpp

Log:
One string comparison in BaseCDR not yet fixed for Win32.

Modified: freeswitch/branches/mishehu/src/mod/loggers/mod_cdr/basecdr.cpp
==============================================================================
--- freeswitch/branches/mishehu/src/mod/loggers/mod_cdr/basecdr.cpp	(original)
+++ freeswitch/branches/mishehu/src/mod/loggers/mod_cdr/basecdr.cpp	Mon Jul 24 00:50:44 2006
@@ -310,8 +310,8 @@
 // This one is for processing of supplemental chanvars
 void BaseCDR::process_channel_variables(const std::list<std::string>& stringlist, const std::list<std::string>& fixedlist, switch_channel_t *channel,bool repeat)
 {
-	std::string tempstring = stringlist.front();
-	if(tempstring == "*")
+	std::string tempstring = "*";
+	if(stringlist.front() == tempstring)
 	{
 		switch_hash_index_t *hi;
 		void *val;



More information about the Freeswitch-svn mailing list