]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
zrtp patch changes
authorBrian West <brian@freeswitch.org>
Tue, 1 Sep 2009 23:46:22 +0000 (23:46 +0000)
committerBrian West <brian@freeswitch.org>
Tue, 1 Sep 2009 23:46:22 +0000 (23:46 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14728 d0543943-73ff-0310-b7d9-9358b9ac24b2

patches/zrtp_changes.diff [new file with mode: 0644]

diff --git a/patches/zrtp_changes.diff b/patches/zrtp_changes.diff
new file mode 100644 (file)
index 0000000..6b7ad12
--- /dev/null
@@ -0,0 +1,22 @@
+Index: src/switch_rtp.c
+===================================================================
+--- src/switch_rtp.c   (revision 14727)
++++ src/switch_rtp.c   (working copy)
+@@ -549,7 +549,7 @@
+       }
+ }
+-static void zrtp_logger(int level, const char *data, int len)
++static void zrtp_logger(int level, const char *data, int len, int offset)
+ {
+       switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "%s", data);
+ }
+@@ -598,7 +598,7 @@
+               zrtp_config.cb.misc_cb.on_send_packet = zrtp_send_rtp_callback;
+               zrtp_config.cb.event_cb.on_zrtp_security_event = zrtp_event_callback;
+               
+-              zrtp_log_set_log_engine(zrtp_logger);
++              zrtp_log_set_log_engine((zrtp_log_engine*)zrtp_logger);
+               zrtp_log_set_level(4);
+               if (zrtp_status_ok != zrtp_init(&zrtp_config, &zrtp_global)) {
+                       abort();