[OpenSIPS-Devel] [OpenSIPS/opensips] 0f65db: cache_fetch: Fix MI tree format
Liviu Chircu
liviu at opensips.org
Thu Mar 1 07:52:39 EST 2018
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 0f65dbfec111eddc75df7b4b91002702bc31f1dd
https://github.com/OpenSIPS/opensips/commit/0f65dbfec111eddc75df7b4b91002702bc31f1dd
Author: Liviu Chircu <liviu at opensips.org>
Date: 2018-03-01 (Thu, 01 Mar 2018)
Changed paths:
M mi/mi_core.c
Log Message:
-----------
cache_fetch: Fix MI tree format
The MI "cache_fetch" command was building a poorly formatted MI tree
(viz below). We fix the command tree format in order to make the
resulting data easier to digest programatically.
Old MI tree format visualization:
'NULL: "out_key: [out_value]"'
New MI tree format visualization:
'"key": "out_key", "value": "out_value"'
Reported by Hamid Elaosta.
Fixes #1298
More information about the Devel
mailing list