summaryrefslogtreecommitdiffstats
path: root/drivers/isimodem/phonebook.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isimodem/phonebook.c')
-rw-r--r--drivers/isimodem/phonebook.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isimodem/phonebook.c b/drivers/isimodem/phonebook.c
index 9eb9c079..ee15dfbe 100644
--- a/drivers/isimodem/phonebook.c
+++ b/drivers/isimodem/phonebook.c
@@ -226,7 +226,7 @@ static void read_next_entry(GIsiClient *client, uint16_t location,
goto error;
if (g_isi_client_send(client, msg, sizeof(msg), SIM_TIMEOUT,
- notify, cbd, NULL))
+ notify, cbd, NULL) != NULL)
return;
error:
@@ -286,7 +286,7 @@ static void isi_export_entries(struct ofono_phonebook *pb, const char *storage,
goto error;
if (g_isi_client_send(pbd->client, msg, sizeof(msg), SIM_TIMEOUT,
- read_resp_cb, cbd, NULL))
+ read_resp_cb, cbd, NULL) != NULL)
return;
error: