summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama.othman@intel.com>2013-12-16 15:14:00 -0800
committerOssama Othman <ossama.othman@intel.com>2013-12-16 15:14:09 -0800
commite51fc9c4bb0af2044dd8b572203ca8b8afc84ac0 (patch)
tree55dc7d84ecf311d3e17bc74c1599efdbc6b8306e
parent9389fd6b905320e14feea90b3c83dcf6cf2e631e (diff)
downloadsettings-daemon-e51fc9c4bb0af2044dd8b572203ca8b8afc84ac0.tar.gz
settings-daemon-e51fc9c4bb0af2044dd8b572203ca8b8afc84ac0.tar.bz2
settings-daemon-e51fc9c4bb0af2044dd8b572203ca8b8afc84ac0.zip
[connman] Fixed off-by-one technology property retrieval error.
Change-Id: If38c2911385ad70ed02f989497a758ab9fd0c10d Signed-off-by: Ossama Othman <ossama.othman@intel.com>
-rw-r--r--plugins/connman/technology.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/connman/technology.cpp b/plugins/connman/technology.cpp
index e8e3d14..aa61b98 100644
--- 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));