MAAT_JSON中不再需要compile_name和group_name字段。

This commit is contained in:
zhengchao
2017-07-04 10:01:56 +08:00
parent fa3c675fd9
commit ae263ee3c4
3 changed files with 11 additions and 23 deletions

View File

@@ -526,7 +526,9 @@ int Maat_set_feather_opt(Maat_feather_t feather,enum MAAT_INIT_OPT type,const vo
memcpy(_feather->inc_dir,(const char*)value,size);
break;
case MAAT_OPT_JSON_FILE_PATH:
ret=json2iris((const char*)value, _feather->full_dir,sizeof(_feather->full_dir),_feather->logger);
ret=json2iris((const char*)value, _feather->full_dir
,_feather->compile_tn,_feather->group_tn
,sizeof(_feather->full_dir),_feather->logger);
if(ret<0)
{
return -1;