FreeCalypso > hg > freecalypso-tools
diff uptools/atcmd/atcmd.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 | 64dcbabd48ca |
children |
line wrap: on
line diff
--- a/uptools/atcmd/atcmd.c Mon Feb 11 05:50:45 2019 +0000 +++ b/uptools/atcmd/atcmd.c Mon Feb 11 22:17:46 2019 +0000 @@ -31,7 +31,7 @@ exit(ERROR_USAGE); } atinterf_init(); - atinterf_exec_cmd(argv[optind], 0, int_callback); + atinterf_exec_cmd(argv[optind], (char *) 0, int_callback); puts(at_response+1); exit(0); }