Explorar o código

mtree: fixed attr size in mt_list command

Daniel-Constantin Mierla %!s(int64=15) %!d(string=hai) anos
pai
achega
e39526cf8e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,