Module: kamailio
Branch: master
Commit: 8893e6f2b30577b065f11a406faf5c5935714f78
URL:
https://github.com/kamailio/kamailio/commit/8893e6f2b30577b065f11a406faf5c5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-05-26T09:24:17+02:00
core: async task logging on no callback
---
Modified: src/core/async_task.c
---
Diff:
https://github.com/kamailio/kamailio/commit/8893e6f2b30577b065f11a406faf5c5…
Patch:
https://github.com/kamailio/kamailio/commit/8893e6f2b30577b065f11a406faf5c5…
---
diff --git a/src/core/async_task.c b/src/core/async_task.c
index ee50412790..1045e0ab41 100644
--- a/src/core/async_task.c
+++ b/src/core/async_task.c
@@ -280,6 +280,8 @@ int async_task_run(int idx)
LM_DBG("task executed [%p] (%p/%p)\n", (void*)ptask,
(void*)ptask->exec, (void*)ptask->param);
ptask->exec(ptask->param);
+ } else {
+ LM_DBG("task with no callback function - ignoring\n");
}
shm_free(ptask);
}