[Freeswitch-svn] [commit] r5415 - freeswitch/trunk/src/mod/endpoints/mod_dingaling

Freeswitch SVN mikej at freeswitch.org
Wed Jun 20 06:46:51 EDT 2007


Author: mikej
Date: Wed Jun 20 06:46:51 2007
New Revision: 5415

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c

Log:
fix for new switch_log_printf prototype

Modified: freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_dingaling/mod_dingaling.c	Wed Jun 20 06:46:51 2007
@@ -732,7 +732,7 @@
 					if (strlen(xmltxt) > 2) {
 						xml = switch_xml_parse_str(xmltxt, strlen(xmltxt));
 						form = switch_xml_toxml(xml);
-						switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, level, 
+						switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, level,
 										  "%s:\n-------------------------------------------------------------------------------\n"
 										  "%s\n", ll, form);
 						switch_xml_free(xml);
@@ -741,7 +741,7 @@
 				}
 			}
 		} else {
-			switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, level, "%s\n", data);
+			switch_log_printf(SWITCH_CHANNEL_ID_LOG, file, func, line, NULL, level, "%s\n", data);
 		}
 	}
 	va_end(ap);



More information about the Freeswitch-svn mailing list