Module: kamailio
Branch: 5.4
Commit: 39895a53b7df804573746585b5d0dd9d4a56f209
URL:
https://github.com/kamailio/kamailio/commit/39895a53b7df804573746585b5d0dd9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-10-23T10:57:32+02:00
rtp_media_server: use directly gen_lock_t instead of ser_lock_t which is tm typedef
(cherry picked from commit 3a162187580880fa7210bd376621f57576e9d209)
---
Modified: src/modules/rtp_media_server/rms_dialog_info.c
Modified: src/modules/rtp_media_server/rtp_media_server.h
---
Diff:
https://github.com/kamailio/kamailio/commit/39895a53b7df804573746585b5d0dd9…
Patch:
https://github.com/kamailio/kamailio/commit/39895a53b7df804573746585b5d0dd9…
---
diff --git a/src/modules/rtp_media_server/rms_dialog_info.c
b/src/modules/rtp_media_server/rms_dialog_info.c
index b8c51bada2..841e74a340 100644
--- a/src/modules/rtp_media_server/rms_dialog_info.c
+++ b/src/modules/rtp_media_server/rms_dialog_info.c
@@ -23,7 +23,7 @@
extern rms_dialog_info_t *rms_dialog_list;
extern int in_rms_process;
-ser_lock_t dialog_list_mutex;
+gen_lock_t dialog_list_mutex;
static void rms_action_free(rms_dialog_info_t *si)
{
diff --git a/src/modules/rtp_media_server/rtp_media_server.h
b/src/modules/rtp_media_server/rtp_media_server.h
index cd3a0109ce..c23cf0df6e 100644
--- a/src/modules/rtp_media_server/rtp_media_server.h
+++ b/src/modules/rtp_media_server/rtp_media_server.h
@@ -39,7 +39,7 @@
#include "rms_media.h"
#include "rms_dialog_info.h"
-extern ser_lock_t dialog_list_mutex;
+extern gen_lock_t dialog_list_mutex;