summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSangyoon Jang <jeremy.jang@samsung.com>2024-02-08 09:35:41 +0900
committerSangyoon Jang <jeremy.jang@samsung.com>2024-02-08 09:35:41 +0900
commitc07496102996f391b3d2d24bd800be466917b86b (patch)
tree7d630cf71f2531e83ea0fe107b51495aa8e68f2e
parent4236510b62670ec131504fdca4db933a9e0e2440 (diff)
downloadapp-installers-c07496102996f391b3d2d24bd800be466917b86b.tar.gz
app-installers-c07496102996f391b3d2d24bd800be466917b86b.tar.bz2
app-installers-c07496102996f391b3d2d24bd800be466917b86b.zip
Fix build error
Change-Id: I5a4aa5823af42e6bc8061b2c94e5e1783118bf62 Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
-rw-r--r--src/common/plugins/metadata_plugin.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/plugins/metadata_plugin.cc b/src/common/plugins/metadata_plugin.cc
index cf2952af..c92b187e 100644
--- a/src/common/plugins/metadata_plugin.cc
+++ b/src/common/plugins/metadata_plugin.cc
@@ -33,7 +33,7 @@ GList* GetMetadataListForKey(GList* list, const std::string& key) {
GList* md_list = nullptr;
for (metadata_x* meta : GListRange<metadata_x*>(list)) {
// key and val should not be null (at least empty string)
- if (!meta->key || !meta->val) {
+ if (!meta->key || !meta->value) {
LOG(ERROR) << "Metadata key or val is null";
continue;
}