Code cleanup
This commit is contained in:
parent
9cab05b073
commit
8386c659f0
@ -1680,7 +1680,7 @@ static char * _request_attention_message_send(Hayes * hayes,
|
|||||||
len = sizeof(cmd) + 10 + pdulen + 1;
|
len = sizeof(cmd) + 10 + pdulen + 1;
|
||||||
ret = malloc(len);
|
ret = malloc(len);
|
||||||
if(channel->quirks & HAYES_QUIRK_WANT_SMSC_IN_PDU)
|
if(channel->quirks & HAYES_QUIRK_WANT_SMSC_IN_PDU)
|
||||||
pdulen-=2;
|
pdulen -= 2;
|
||||||
/* FIXME really issue using two separate commands */
|
/* FIXME really issue using two separate commands */
|
||||||
if(ret != NULL)
|
if(ret != NULL)
|
||||||
snprintf(ret, len, "%s%lu\r\n%s", cmd, ((unsigned long)pdulen
|
snprintf(ret, len, "%s%lu\r\n%s", cmd, ((unsigned long)pdulen
|
||||||
|
Loading…
Reference in New Issue
Block a user