[sr-dev] git:master:70a5d31f: kex: Remove a lot of duplicate code from rpc_stats_fetch*

Alex Hermann alex at hexla.nl
Thu Nov 5 13:12:26 CET 2020


Module: kamailio
Branch: master
Commit: 70a5d31f08231ed161904990c9faadff11d5a9ff
URL: https://github.com/kamailio/kamailio/commit/70a5d31f08231ed161904990c9faadff11d5a9ff

Author: Alex Hermann <alex at hexla.nl>
Committer: Alex Hermann <alex at hexla.nl>
Date: 2020-10-29T15:24:22+01:00

kex: Remove a lot of duplicate code from rpc_stats_fetch*

One extra variable can prevent lots of duplicate code. Code paths for string
and numeric response are now merged.

---

Modified: src/modules/kex/core_stats.c

---

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




More information about the sr-dev mailing list