projects
/
profile
/
ivi
/
settings-daemon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9389fd6
)
[connman] Fixed off-by-one technology property retrieval error.
11/13811/1
author
Ossama Othman
<ossama.othman@intel.com>
Mon, 16 Dec 2013 23:14:00 +0000
(15:14 -0800)
committer
Ossama Othman
<ossama.othman@intel.com>
Mon, 16 Dec 2013 23:14:09 +0000
(15:14 -0800)
Change-Id: If38c2911385ad70ed02f989497a758ab9fd0c10d
Signed-off-by: Ossama Othman <ossama.othman@intel.com>
plugins/connman/technology.cpp
patch
|
blob
|
history
diff --git
a/plugins/connman/technology.cpp
b/plugins/connman/technology.cpp
index
e8e3d14
..
aa61b98
100644
(file)
--- a/
plugins/connman/technology.cpp
+++ b/
plugins/connman/technology.cpp
@@
-195,7
+195,7
@@
ivi::settings::technology::get_property(char const * name,
return nullptr;
}
- tech = tech.substr(n);
+ tech = tech.substr(n
+ 1
);
unique_ptr<GVariant> const properties(
manager_.get_properties(tech.c_str(), error));