1 --- multipath-tools-0.8.3-6c3bd36/libdmmp/libdmmp_private.h.orig 2019-10-02 09:15:03.000000000 +0200
2 +++ multipath-tools-0.8.3-6c3bd36/libdmmp/libdmmp_private.h 2020-05-01 21:47:31.600996702 +0200
5 json_type j_type = json_type_null; \
6 json_object *j_obj_tmp = NULL; \
7 - if (json_object_object_get_ex(j_obj, key, &j_obj_tmp) != TRUE) { \
8 + if (json_object_object_get_ex(j_obj, key, &j_obj_tmp) != 1) { \
9 _error(ctx, "Invalid JSON output from multipathd IPC: " \
10 "key '%s' not found", key); \
11 rc = DMMP_ERR_IPC_ERROR; \
14 if (j_obj_tmp == NULL) { \
15 _error(ctx, "BUG: Got NULL j_obj_tmp from " \
16 - "json_object_object_get_ex() while it return TRUE"); \
17 + "json_object_object_get_ex() while it return 1"); \