diff options
author | Aki Niemi <aki.niemi@nokia.com> | 2010-12-01 15:46:57 +0200 |
---|---|---|
committer | Aki Niemi <aki.niemi@nokia.com> | 2010-12-22 17:13:48 +0200 |
commit | 98074fdb60c7092b4453a78382c384f8752dbbc1 (patch) | |
tree | d1a5a760d31266d7c2cf76d6985d56a0d42fada6 /drivers/isimodem/ussd.c | |
parent | 1f238413cb82189375fa77dec29d116039eb398c (diff) | |
download | ofono-98074fdb60c7092b4453a78382c384f8752dbbc1.tar.bz2 |
isimodem: Always compare to NULL explicitly
Diffstat (limited to 'drivers/isimodem/ussd.c')
-rw-r--r-- | drivers/isimodem/ussd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isimodem/ussd.c b/drivers/isimodem/ussd.c index e231465d..8baa2438 100644 --- a/drivers/isimodem/ussd.c +++ b/drivers/isimodem/ussd.c @@ -188,7 +188,7 @@ static void isi_request(struct ofono_ussd *ussd, int dcs, goto error; if (g_isi_client_vsend(ud->client, iov, 2, SS_TIMEOUT, - ussd_send_resp_cb, cbd, g_free)) + ussd_send_resp_cb, cbd, g_free) != NULL) return; error: @@ -211,7 +211,7 @@ static void isi_cancel(struct ofono_ussd *ussd, goto error; if (g_isi_client_send(ud->client, msg, sizeof(msg), SS_TIMEOUT, - ussd_send_resp_cb, cbd, g_free)) + ussd_send_resp_cb, cbd, g_free) != NULL) return; error: |