Module: kamailio Branch: master Commit: 3a162187580880fa7210bd376621f57576e9d209 URL: https://github.com/kamailio/kamailio/commit/3a162187580880fa7210bd376621f575...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2020-10-21T08:29:21+02:00
rtp_media_server: use directly gen_lock_t instead of ser_lock_t which is tm typedef
---
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/3a162187580880fa7210bd376621f575... Patch: https://github.com/kamailio/kamailio/commit/3a162187580880fa7210bd376621f575...
---
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;