StorageAPI: Set isDirty flag when WUPS_StoreBinary was called

This commit is contained in:
Maschell 2023-01-24 13:52:27 +01:00
parent 98623f15ab
commit 0a427fd31c

View File

@ -354,6 +354,8 @@ WUPSStorageError WUPS_StoreBinary(wups_storage_item_t *parent, const char *key,
parent = &rootItem;
}
isDirty = true;
wups_storage_item_t *item = addItem(parent, key, WUPS_STORAGE_TYPE_STRING);
item->data = b64_encode((const uint8_t *) data, size);