From 43b201403d470c0c6650e33a9811b808f5b126d6 Mon Sep 17 00:00:00 2001 From: Paul Kocialkowski Date: Sun, 31 Mar 2013 22:37:27 +0200 Subject: Define and use RIL_TOKEN_NULL Signed-off-by: Paul Kocialkowski --- sms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sms.c') diff --git a/sms.c b/sms.c index bcc208a..d13edcb 100644 --- a/sms.c +++ b/sms.c @@ -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); -- cgit v1.2.3