[sr-dev] git:master:162d7feb: tm: avoid temporary clone of reason value for t_reply()

Daniel-Constantin Mierla miconda at gmail.com
Fri Apr 27 11:56:12 CEST 2018


Module: kamailio
Branch: master
Commit: 162d7feb00cf5d51be3375a5f5c1434b6abd8a4b
URL: https://github.com/kamailio/kamailio/commit/162d7feb00cf5d51be3375a5f5c1434b6abd8a4b

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2018-04-27T11:47:20+02:00

tm: avoid temporary clone of reason value for t_reply()

- use str field instead of char* for internal _reply() parameter
- split the w_t_reply() to config wrapper and helper functions

---

Modified: src/modules/tm/t_reply.c
Modified: src/modules/tm/t_reply.h
Modified: src/modules/tm/tm.c

---

Diff:  https://github.com/kamailio/kamailio/commit/162d7feb00cf5d51be3375a5f5c1434b6abd8a4b.diff
Patch: https://github.com/kamailio/kamailio/commit/162d7feb00cf5d51be3375a5f5c1434b6abd8a4b.patch




More information about the sr-dev mailing list