This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/19665 )
Change subject: vty/command: cosmetic: move variable definition upwards
......................................................................
vty/command: cosmetic: move variable definition upwards
Change-Id: I491913061799cd0bfaa78d76f88a5c819f1d5e2e
---
M src/vty/command.c
1 file changed, 1 insertion(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/65/19665/1
diff --git a/src/vty/command.c b/src/vty/command.c
index d8fe463..fba8ef5 100644
--- a/src/vty/command.c
+++ b/src/vty/command.c
@@ -628,14 +628,13 @@
static int vty_dump_element(struct cmd_element *cmd, print_func_t print_func, void *data, const char *newline)
{
char *xml_string = xml_escape(cmd->string);
+ unsigned int i, j;
print_func(data, " <command id='%s'>%s", xml_string, newline);
print_func(data, " <params>%s", newline);
- int j;
for (j = 0; j < vector_count(cmd->strvec); ++j) {
vector descvec = vector_slot(cmd->strvec, j);
- int i;
for (i = 0; i < vector_active(descvec); ++i) {
char *xml_param, *xml_doc;
struct desc *desc = vector_slot(descvec, i);
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/19665
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I491913061799cd0bfaa78d76f88a5c819f1d5e2e
Gerrit-Change-Number: 19665
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200816/b125489b/attachment.htm>