fix get tags filter by group config name

This commit is contained in:
fengzero
2021-11-03 09:37:48 +00:00
parent 86d26bbacf
commit b097145cc1
2 changed files with 2 additions and 3 deletions
-1
View File
@@ -144,7 +144,6 @@
"tag_type": [
4,
5,
7,
8,
9,
11,
+2 -2
View File
@@ -159,7 +159,7 @@ void handle_get_tags(nng_aio *aio)
if (s_grp_name != NULL &&
strncmp(neu_taggrp_cfg_get_name(config), s_grp_name,
strlen(s_grp_name)) != 0) {
break;
continue;
}
tags_res.n_tag += ids->size;
@@ -176,7 +176,7 @@ void handle_get_tags(nng_aio *aio)
if (s_grp_name != NULL &&
strncmp(group_name, s_grp_name, strlen(s_grp_name)) != 0) {
break;
continue;
}
vector_t *ids = neu_taggrp_cfg_get_datatag_ids(config);