projects
/
platform
/
core
/
appfw
/
app-installers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4804b63
)
Fix tpk parser bug
37/36837/2
author
Youmin Ha
<youmin.ha@samsung.com>
Mon, 16 Mar 2015 08:29:46 +0000
(17:29 +0900)
committer
Pawel Sikorski
<p.sikorski@samsung.com>
Wed, 18 Mar 2015 13:52:59 +0000
(06:52 -0700)
Fixed condition of judging children count of an element
Change-Id: I9547294a2c1b1018a0bed87e4eab656a61ed2e2e
Signed-Off-By: Youmin Ha <youmin.ha@samsung.com>
src/tpk/step/step_parse.cc
patch
|
blob
|
history
diff --git
a/src/tpk/step/step_parse.cc
b/src/tpk/step/step_parse.cc
index
2a85ca1
..
85de2f7
100644
(file)
--- a/
src/tpk/step/step_parse.cc
+++ b/
src/tpk/step/step_parse.cc
@@
-25,7
+25,7
@@
namespace {
XmlElement* Get1stChild(XmlTree *tree,
XmlElement* parent, const string element_name) {
vector<XmlElement*> v = tree->Children(parent, element_name);
- if (
!
v.size() < 1) {
+ if (v.size() < 1) {
LOG(ERROR) << element_name << " is not found as a child of " <<
parent->name();
return nullptr;