Module: kamailio Branch: master Commit: 2c976699e0e066659a2b1d2c1888300823c4b773 URL: https://github.com/kamailio/kamailio/commit/2c976699e0e066659a2b1d2c18883008...
Author: Pantelis Kolatsis pk@gilawa.com Committer: Henning Westerholt hw@gilawa.com Date: 2023-04-25T11:26:06Z
sworker: convert to memory logging helper
---
Modified: src/modules/sworker/sworker_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/2c976699e0e066659a2b1d2c18883008... Patch: https://github.com/kamailio/kamailio/commit/2c976699e0e066659a2b1d2c18883008...
---
diff --git a/src/modules/sworker/sworker_mod.c b/src/modules/sworker/sworker_mod.c index 6a151caa44b..377fb3cc608 100644 --- a/src/modules/sworker/sworker_mod.c +++ b/src/modules/sworker/sworker_mod.c @@ -192,7 +192,7 @@ int sworker_send_task(sip_msg_t *msg, str *gname) } at = (async_task_t *)shm_malloc(dsize); if(at == NULL) { - LM_ERR("no more shm memory\n"); + SHM_MEM_ERROR; return -1; } memset(at, 0, dsize);