Module: kamailio
Branch: master
Commit: 8a46cb6babed5384d09b3dfc07fe15940128d1a3
URL:
https://github.com/kamailio/kamailio/commit/8a46cb6babed5384d09b3dfc07fe159…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-11-22T11:16:18+01:00
async: removed unused param from async data processing
---
Modified: src/modules/async/async_mod.c
Modified: src/modules/async/async_sleep.c
Modified: src/modules/async/async_sleep.h
---
Diff:
https://github.com/kamailio/kamailio/commit/8a46cb6babed5384d09b3dfc07fe159…
Patch:
https://github.com/kamailio/kamailio/commit/8a46cb6babed5384d09b3dfc07fe159…
---
diff --git a/src/modules/async/async_mod.c b/src/modules/async/async_mod.c
index 9d6b5da3cca..bd31880064f 100644
--- a/src/modules/async/async_mod.c
+++ b/src/modules/async/async_mod.c
@@ -577,7 +577,7 @@ int ki_async_task_group_data(sip_msg_t *msg, str *rn, str *gn, str
*sdata)
}
}
- if(async_send_data(msg, act, rn, gn, sdata) < 0)
+ if(async_send_data(act, rn, gn, sdata) < 0)
return -1;
/* ok */
return 1;
diff --git a/src/modules/async/async_sleep.c b/src/modules/async/async_sleep.c
index 605118be3da..5fb8861a861 100644
--- a/src/modules/async/async_sleep.c
+++ b/src/modules/async/async_sleep.c
@@ -603,8 +603,7 @@ void async_exec_data(void *param)
/**
*
*/
-int async_send_data(
- sip_msg_t *msg, cfg_action_t *act, str *cbname, str *gname, str *sdata)
+int async_send_data(cfg_action_t *act, str *cbname, str *gname, str *sdata)
{
async_task_t *at;
int dsize;
diff --git a/src/modules/async/async_sleep.h b/src/modules/async/async_sleep.h
index 0dd268889a5..0b5466f8331 100644
--- a/src/modules/async/async_sleep.h
+++ b/src/modules/async/async_sleep.h
@@ -51,8 +51,7 @@ int async_ms_sleep(
void async_mstimer_exec(unsigned int ticks, void *param);
int async_send_task(sip_msg_t *msg, cfg_action_t *act, str *cbname, str *gname);
-int async_send_data(
- sip_msg_t *msg, cfg_action_t *act, str *cbname, str *gname, str *sdata);
+int async_send_data(cfg_action_t *act, str *cbname, str *gname, str *sdata);
int pv_get_async(sip_msg_t *msg, pv_param_t *param, pv_value_t *res);
int pv_parse_async_name(pv_spec_t *sp, str *in);