[sr-dev] git:master:69ee44c4: corex: use ZSW() for shm report rpc output
Daniel-Constantin Mierla
miconda at gmail.com
Thu Mar 10 11:46:05 CET 2022
Module: kamailio
Branch: master
Commit: 69ee44c4cf83447bab2104b5d380f01af3893608
URL: https://github.com/kamailio/kamailio/commit/69ee44c4cf83447bab2104b5d380f01af3893608
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2022-03-10T11:45:34+01:00
corex: use ZSW() for shm report rpc output
---
Modified: src/modules/corex/corex_rpc_shm.c
---
Diff: https://github.com/kamailio/kamailio/commit/69ee44c4cf83447bab2104b5d380f01af3893608.diff
Patch: https://github.com/kamailio/kamailio/commit/69ee44c4cf83447bab2104b5d380f01af3893608.patch
---
diff --git a/src/modules/corex/corex_rpc_shm.c b/src/modules/corex/corex_rpc_shm.c
index f605ef2795..b66d6e237d 100644
--- a/src/modules/corex/corex_rpc_shm.c
+++ b/src/modules/corex/corex_rpc_shm.c
@@ -108,24 +108,24 @@ static void corex_rpc_shm_report(rpc_t* rpc, void* ctx)
"used_frags", mrep.used_frags,
"total_frags", mrep.total_frags,
"max_free_frag_size", mrep.max_free_frag_size,
- "max_free_frag_file", mrep.max_free_frag_file,
- "max_free_frag_func", mrep.max_free_frag_func,
- "max_free_frag_mname", mrep.max_free_frag_mname,
+ "max_free_frag_file", ZSW(mrep.max_free_frag_file),
+ "max_free_frag_func", ZSW(mrep.max_free_frag_func),
+ "max_free_frag_mname", ZSW(mrep.max_free_frag_mname),
"max_free_frag_line", mrep.max_free_frag_line,
"max_used_frag_size", mrep.max_used_frag_size,
- "max_used_frag_file", mrep.max_used_frag_file,
- "max_used_frag_func", mrep.max_used_frag_func,
- "max_used_frag_mname", mrep.max_used_frag_mname,
+ "max_used_frag_file", ZSW(mrep.max_used_frag_file),
+ "max_used_frag_func", ZSW(mrep.max_used_frag_func),
+ "max_used_frag_mname", ZSW(mrep.max_used_frag_mname),
"max_used_frag_line", mrep.max_used_frag_line,
"min_free_frag_size", mrep.min_free_frag_size,
- "min_free_frag_file", mrep.min_free_frag_file,
- "min_free_frag_func", mrep.min_free_frag_func,
- "min_free_frag_mname", mrep.min_free_frag_mname,
+ "min_free_frag_file", ZSW(mrep.min_free_frag_file),
+ "min_free_frag_func", ZSW(mrep.min_free_frag_func),
+ "min_free_frag_mname", ZSW(mrep.min_free_frag_mname),
"min_free_frag_line", mrep.min_free_frag_line,
"min_used_frag_size", mrep.min_used_frag_size,
- "min_used_frag_file", mrep.min_used_frag_file,
- "min_used_frag_func", mrep.min_used_frag_func,
- "min_used_frag_mname", mrep.min_used_frag_mname,
+ "min_used_frag_file", ZSW(mrep.min_used_frag_file),
+ "min_used_frag_func", ZSW(mrep.min_used_frag_func),
+ "min_used_frag_mname", ZSW(mrep.min_used_frag_mname),
"min_used_frag_line", mrep.min_used_frag_line
);
}
More information about the sr-dev
mailing list