Module: sip-router
Branch: master
Commit: e39526cf8e082ff3c9f282916d3dd1e339452758
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=e39526cf8e082ff3c9f282916d3dd1e339452758

Author: Daniel-Constantin Mierla <[email protected]>
Committer: Daniel-Constantin Mierla <[email protected]>
Date:   Mon Mar 15 13:15:09 2010 +0100

mtree: fixed attr size in mt_list command

---

 modules/mtree/mtree_mod.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/mtree/mtree_mod.c b/modules/mtree/mtree_mod.c
index a5d42f7..23e06a1 100644
--- a/modules/mtree/mtree_mod.c
+++ b/modules/mtree/mtree_mod.c
@@ -796,7 +796,7 @@ int mt_print_mi_node(m_tree_t *tree, mt_node_t *pt, struct 
mi_node* rpl,
                code[len]=mt_char_list.s[i];
                if(pt[i].tvalue.s!=NULL)
                {
-                       node = add_mi_node_child(rpl, 0, "MT", 3, 0, 0);
+                       node = add_mi_node_child(rpl, 0, "MT", 2, 0, 0);
                        if(node == NULL)
                                goto error;
                        attr = add_mi_attr(node, MI_DUP_VALUE, "TNAME", 5,


_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to