ctf, ir: escape and unescape enumeration FT labels starting with `_`
[babeltrace.git] / lib / ctf-ir / utils.c
index 12daedbd9105d787c35d5b8ea262c175ebfbdc55..9eff0508b31c01ba3e8b228ce69a86f844126a47 100644 (file)
@@ -120,5 +120,5 @@ end:
 
 bt_bool bt_identifier_is_valid(const char *identifier)
 {
-       return bt_validate_identifier(identifier);
+       return bt_validate_identifier(identifier) == 0;
 }
This page took 0.022982 seconds and 4 git commands to generate.