[Asterisk-code-review] ARI: Added new functionality to get all module information. (asterisk[13])
Benjamin Keith Ford
asteriskteam at digium.com
Fri Jun 26 13:22:55 CDT 2015
Benjamin Keith Ford has uploaded a new change for review.
https://gerrit.asterisk.org/733
Change subject: ARI: Added new functionality to get all module information.
......................................................................
ARI: Added new functionality to get all module information.
Revised some areas that went under code review, such as formatting
errors.
* Code review cleanup for ARI get modules
Change-Id: Iaf346ce24ae0af384955548b6f2ceee08c77f9f6
---
M include/asterisk/module.h
M res/ari/resource_asterisk.c
2 files changed, 6 insertions(+), 6 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/33/733/1
diff --git a/include/asterisk/module.h b/include/asterisk/module.h
index b700a1f..4859dfd 100644
--- a/include/asterisk/module.h
+++ b/include/asterisk/module.h
@@ -161,7 +161,7 @@
const char *like);
/*!
- * /brief Ask for a list of modules, descriptions, use counts and status.
+ * \brief Ask for a list of modules, descriptions, use counts and status.
* \param modentry A callback to an updated function
* \param like
* \param data Data passed into the callback for manipulation
diff --git a/res/ari/resource_asterisk.c b/res/ari/resource_asterisk.c
index 4ca2718..70ad486 100644
--- a/res/ari/resource_asterisk.c
+++ b/res/ari/resource_asterisk.c
@@ -161,11 +161,11 @@
struct ast_json *module_info;
module_info = ast_json_pack("{s: s, s: s, s: i, s: s, s: s}",
- "name", module,
- "description", description,
- "use_count", usecnt,
- "status", status,
- "support_level", ast_module_support_level_to_string(support_level));
+ "name", module,
+ "description", description,
+ "use_count", usecnt,
+ "status", status,
+ "support_level", ast_module_support_level_to_string(support_level));
if (!module_info) {
return 0;
}
--
To view, visit https://gerrit.asterisk.org/733
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf346ce24ae0af384955548b6f2ceee08c77f9f6
Gerrit-PatchSet: 1
Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Owner: Benjamin Keith Ford <bford at digium.com>
More information about the asterisk-code-review
mailing list