From e51fc9c4bb0af2044dd8b572203ca8b8afc84ac0 Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Mon, 16 Dec 2013 15:14:00 -0800 Subject: [connman] Fixed off-by-one technology property retrieval error. Change-Id: If38c2911385ad70ed02f989497a758ab9fd0c10d Signed-off-by: Ossama Othman --- plugins/connman/technology.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 const properties( manager_.get_properties(tech.c_str(), error)); -- cgit v1.2.3