[sr-dev] git:5.3:c1b9bf21: cnxcc: minor changes

Victor Seva linuxmaniac at torreviejawireless.org
Fri Jun 5 14:22:24 CEST 2020


Module: kamailio
Branch: 5.3
Commit: c1b9bf212829f89702fd34cf62c493060d7c5616
URL: https://github.com/kamailio/kamailio/commit/c1b9bf212829f89702fd34cf62c493060d7c5616

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Victor Seva <linuxmaniac at torreviejawireless.org>
Date: 2020-06-05T14:21:01+02:00

cnxcc: minor changes

* use [PKG|SHM]_MEM_ERROR
* use memset and avoid initialization per field
* init variables
* use localtime_r() for a safer multi-thread usage
* replaced deprecated STR_PARAM with PARAM_STR
* clean includes
* clang-format

(cherry picked from commit e98457faf2098ca2f16a831a4a68d2a26e301b0a)

---

Modified: src/modules/cnxcc/cnxcc.c
Modified: src/modules/cnxcc/cnxcc.h
Modified: src/modules/cnxcc/cnxcc_mod.c
Modified: src/modules/cnxcc/cnxcc_mod.h
Modified: src/modules/cnxcc/cnxcc_redis.c
Modified: src/modules/cnxcc/cnxcc_rpc.c
Modified: src/modules/cnxcc/cnxcc_rpc.h
Modified: src/modules/cnxcc/cnxcc_select.c
Modified: src/modules/cnxcc/cnxcc_select.h
Modified: src/modules/cnxcc/cnxcc_sip_msg_faker.c
Modified: src/modules/cnxcc/cnxcc_sip_msg_faker.h

---

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




More information about the sr-dev mailing list