ipc: get_tags - do not dump tag if the tag is null ref. #123

This commit is contained in:
bakkeby 2021-05-05 08:18:00 +02:00
parent 3bf6eeca75
commit 579f8f892b

View File

@ -5,13 +5,15 @@
int
dump_tag(yajl_gen gen, const char *name, const int tag_mask)
{
if (!name)
return;
// clang-format off
YMAP(
YSTR("bit_mask"); YINT(tag_mask);
YSTR("name"); YSTR(name);
)
// clang-format on
return 0;
}