[Freeswitch-svn] [commit] r4386 - freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr
Freeswitch SVN
mishehu at freeswitch.org
Sun Feb 25 00:31:07 EST 2007
Author: mishehu
Date: Sun Feb 25 00:31:07 2007
New Revision: 4386
Modified:
freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr/basecdr.cpp
Log:
The switch_strlen_zero() stuff has been tested and seems to work.
Modified: freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr/basecdr.cpp
==============================================================================
--- freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr/basecdr.cpp (original)
+++ freeswitch/branches/mishehu/src/mod/event_handlers/mod_cdr/basecdr.cpp Sun Feb 25 00:31:07 2007
@@ -173,7 +173,7 @@
hangupcause_text = switch_channel_cause2str(hangupcause);
if(newchannel->callerextension)
- if(!switch_strlen_zero(newchannel->callerextension->last_application))
+ if(!newchannel->callerextension->last_application)
{
if(!switch_strlen_zero(newchannel->callerextension->last_application->application_name))
strncpy(lastapp,newchannel->callerextension->last_application->application_name,strlen(newchannel->callerextension->last_application->application_name));
More information about the Freeswitch-svn
mailing list