Standardize `strcmp(a, b) == 0` instead of `!strcmp(a, b)`
[babeltrace.git] / src / lib / trace-ir / attributes.c
index d2047b7c72dbf36cb6e70674a28408cac7d1fd4a..488dd86feab50bb4449d400797c7c255ef9d5555 100644 (file)
@@ -191,7 +191,7 @@ struct bt_value *bt_attributes_borrow_field_by_name(
 
                field_name = bt_value_string_get(attr_field_name_obj);
 
-               if (!strcmp(field_name, name)) {
+               if (strcmp(field_name, name) == 0) {
                        break;
                }
 
This page took 0.029054 seconds and 4 git commands to generate.