diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2019-09-12 17:47:59 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2019-09-12 17:47:59 (GMT) |
commit | 607a867355b2ffe09a76f3b4ea8dbc4be1dc477f (patch) | |
tree | f0f41e5d10c138c3b4783fc12057af7ac0d1862c /src/analysis/binary.c | |
parent | 1c2949f6828b995c7b9f8feba8fd7214f52f8f4d (diff) |
Replaced some database item properties by new flags.
Diffstat (limited to 'src/analysis/binary.c')
-rw-r--r-- | src/analysis/binary.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/binary.c b/src/analysis/binary.c index 070e175..ac7556c 100644 --- a/src/analysis/binary.c +++ b/src/analysis/binary.c @@ -1077,7 +1077,7 @@ bool _g_loaded_binary_add_to_collection(GLoadedBinary *binary, GDbItem *item, bo if (collec == NULL) return false; /* S'il n'y a pas besoin de sauvegarde... */ - if (g_db_item_is_volatile(item)) + if (g_db_item_get_flags(item) & DIF_VOLATILE) result = _g_db_collection_add_item(collec, item, lock); /* Sinon on envoie par le réseau ! */ @@ -1158,7 +1158,7 @@ bool _g_loaded_binary_remove_from_collection(GLoadedBinary *binary, DBFeatures f if (collec == NULL) return false; /* S'il n'y a pas besoin de sauvegarde... */ - if (g_db_item_is_volatile(item)) + if (g_db_item_get_flags(item) & DIF_VOLATILE) result = _g_db_collection_remove_item(collec, item, lock, true); /* Sinon on envoie par le réseau ! */ |