]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix for new switch_log_printf prototype
authorMichael Jerris <mike@jerris.com>
Wed, 20 Jun 2007 10:46:51 +0000 (10:46 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 20 Jun 2007 10:46:51 +0000 (10:46 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5415 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_dingaling/mod_dingaling.c

index c724b9af147b5e72c15b65db94e329b757d4b4cf..8e647dc8c876ad2c0f1764afe6c9dbcd51f58d71 100644 (file)
@@ -732,7 +732,7 @@ static void dl_logger(char *file, const char *func, int line, int level, char *f
                                        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 @@ static void dl_logger(char *file, const char *func, int line, int level, char *f
                                }
                        }
                } 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);