diff options
author | Paul Kocialkowski <contact@paulk.fr> | 2013-03-31 22:37:27 +0200 |
---|---|---|
committer | Paul Kocialkowski <contact@paulk.fr> | 2013-03-31 22:48:09 +0200 |
commit | 43b201403d470c0c6650e33a9811b808f5b126d6 (patch) | |
tree | 543f09ba823ce4ebab7a7c7011490cb583fed317 /sms.c | |
parent | fa8710bd7790c41f67be6ca0713b398289e42fea (diff) | |
download | hardware_replicant_libsamsung-ril-43b201403d470c0c6650e33a9811b808f5b126d6.tar.gz hardware_replicant_libsamsung-ril-43b201403d470c0c6650e33a9811b808f5b126d6.tar.bz2 hardware_replicant_libsamsung-ril-43b201403d470c0c6650e33a9811b808f5b126d6.zip |
Define and use RIL_TOKEN_NULL
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'sms.c')
-rw-r--r-- | sms.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -177,7 +177,7 @@ void ril_request_send_sms_next(void) int smsc_length; int rc; - ril_data.tokens.outgoing_sms = (RIL_Token) 0x00; + ril_data.tokens.outgoing_sms = RIL_TOKEN_NULL; send_sms = ril_request_send_sms_info_find(); if (send_sms == NULL) @@ -360,7 +360,7 @@ void ril_request_send_sms(RIL_Token t, void *data, size_t length) smsc = (unsigned char *) strdup((char *) smsc); } - if (ril_data.tokens.outgoing_sms != (RIL_Token) 0x00) { + if (ril_data.tokens.outgoing_sms != RIL_TOKEN_NULL) { LOGD("Another outgoing SMS is being processed, adding to the list"); rc = ril_request_send_sms_register(pdu, pdu_length, smsc, smsc_length, t); |