소스 검색

mtree: fixed attr size in mt_list command

Daniel-Constantin Mierla 15 년 전
부모
커밋
e39526cf8e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,