aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elocation
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2014-11-14 10:51:56 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2014-11-14 10:51:56 +0100
commit612633b4e20ec74ea6416ddcf1e29bb8038963e7 (patch)
treeb5bf3d11de8a06fba8765bf354fda389667eb160 /src/lib/elocation
parentevas: Evas_3D - add .ply export/import. (diff)
downloadefl-612633b4e20ec74ea6416ddcf1e29bb8038963e7.tar.gz
elocation: Check for one more retrun of eldbus_message_iter_arguments_get
In this case we want to continue with the loop. CID: 1251472
Diffstat (limited to 'src/lib/elocation')
-rw-r--r--src/lib/elocation/elocation.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/elocation/elocation.c b/src/lib/elocation/elocation.c
index 6cc5af051e..7583fabe1a 100644
--- a/src/lib/elocation/elocation.c
+++ b/src/lib/elocation/elocation.c
@@ -210,7 +210,8 @@ unmarshall_address(const Eldbus_Message *reply, Elocation_Address *addr)
while (eldbus_message_iter_get_and_next(dict, 'e', &entry))
{
- eldbus_message_iter_arguments_get(entry, "ss", &key, &value);
+ if (!eldbus_message_iter_arguments_get(entry, "ss", &key, &value))
+ continue;
if (!strcmp(key, "country"))
{