FreeCalypso > hg > freecalypso-tools
diff uptools/atcmd/smsend_main.c @ 467:dc2fd8e6f42c
uptools/atcmd: null pointer passing fixes
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 11 Feb 2019 22:17:46 +0000 |
parents | ed9b67e7e741 |
children | 2969032bdfac |
line wrap: on
line diff
--- a/uptools/atcmd/smsend_main.c Mon Feb 11 05:50:45 2019 +0000 +++ b/uptools/atcmd/smsend_main.c Mon Feb 11 22:17:46 2019 +0000 @@ -142,7 +142,7 @@ { atinterf_init(); /* enable verbose error messages */ - atinterf_exec_cmd_needok("AT+CMEE=2", 0, 0); + atinterf_exec_cmd_needok("AT+CMEE=2", (char *) 0, (void *) 0); } gsm7_mode_main() @@ -207,7 +207,7 @@ common_init(); prep_for_pdu_mode(); if (sms_write_mode == 0) - atinterf_exec_cmd_needok("AT+CMMS=1", 0, 0); + atinterf_exec_cmd_needok("AT+CMMS=1", (char *) 0, (void *) 0); pos = 0; remain = msgtext_gsmlen; for (n = 1; n <= nparts; n++) { @@ -220,7 +220,7 @@ remain -= chunk; } if (sms_write_mode == 0) - atinterf_exec_cmd_needok("AT+CMMS=0", 0, 0); + atinterf_exec_cmd_needok("AT+CMMS=0", (char *) 0, (void *) 0); if (sms_write_mode == 1) sendafterwr_process(); if (!concat_quiet) @@ -270,7 +270,7 @@ common_init(); prep_for_pdu_mode(); if (sms_write_mode == 0) - atinterf_exec_cmd_needok("AT+CMMS=1", 0, 0); + atinterf_exec_cmd_needok("AT+CMMS=1", (char *) 0, (void *) 0); pos = 0; remain = msgtext_unilen; for (n = 1; n <= nparts; n++) { @@ -283,7 +283,7 @@ remain -= chunk; } if (sms_write_mode == 0) - atinterf_exec_cmd_needok("AT+CMMS=0", 0, 0); + atinterf_exec_cmd_needok("AT+CMMS=0", (char *) 0, (void *) 0); if (sms_write_mode == 1) sendafterwr_process(); if (!concat_quiet)