Module: kamailio
Branch: master
Commit: 92f899f3689f0f0b291590e82e61751b76b2539c
URL:
https://github.com/kamailio/kamailio/commit/92f899f3689f0f0b291590e82e61751…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-12-12T12:25:35+01:00
pua_dialoginfo: rename short global variable
---
Modified: src/modules/pua_dialoginfo/pua_dialoginfo.c
---
Diff:
https://github.com/kamailio/kamailio/commit/92f899f3689f0f0b291590e82e61751…
Patch:
https://github.com/kamailio/kamailio/commit/92f899f3689f0f0b291590e82e61751…
---
diff --git a/src/modules/pua_dialoginfo/pua_dialoginfo.c
b/src/modules/pua_dialoginfo/pua_dialoginfo.c
index 86febe2d1bd..26883cc27ad 100644
--- a/src/modules/pua_dialoginfo/pua_dialoginfo.c
+++ b/src/modules/pua_dialoginfo/pua_dialoginfo.c
@@ -76,7 +76,7 @@ MODULE_VERSION
*/
/* #define PUA_DIALOGINFO_DEBUG 1 */
-pua_api_t pua;
+pua_api_t _pua_api;
struct dlg_binds dlg_api;
@@ -1063,15 +1063,15 @@ static int mod_init(void)
return -1;
}
- if(bind_pua(&pua) < 0) {
+ if(bind_pua(&_pua_api) < 0) {
LM_ERR("Can't bind pua\n");
return -1;
}
- if(pua.send_publish == NULL) {
+ if(_pua_api.send_publish == NULL) {
LM_ERR("Could not import send_publish\n");
return -1;
}
- pua_send_publish = pua.send_publish;
+ pua_send_publish = _pua_api.send_publish;
/* bind to the dialog API */
if(load_dlg_api(&dlg_api) != 0) {