Browse Source

mtree: fixed attr size in mt_list command

Daniel-Constantin Mierla 15 years ago
parent
commit
e39526cf8e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/mtree/mtree_mod.c

+ 1 - 1
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,