elocation: Check for one more retrun of eldbus_message_iter_arguments_get

In this case we want to continue with the loop.

CID: 1251472
This commit is contained in:
Stefan Schmidt 2014-11-14 10:51:56 +01:00
parent d896dfb342
commit 612633b4e2
1 changed files with 2 additions and 1 deletions

View File

@ -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"))
{