Removed NULL pointer to make sdcc happy
This commit is contained in:
parent
b298e3c524
commit
a6be9a6d3c
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Adam Dunkels <adam@sics.se>
|
||||
*
|
||||
* $Id: shell-tcpsend.c,v 1.2 2009/03/06 07:23:08 adamdunkels Exp $
|
||||
* $Id: shell-tcpsend.c,v 1.3 2009/03/17 20:12:55 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
|
@ -149,7 +149,7 @@ PROCESS_THREAD(shell_tcpsend_process, ev, data)
|
|||
*next = 0;
|
||||
++next;
|
||||
strncpy(server, data, sizeof(server));
|
||||
port = shell_strtolong(next, NULL);
|
||||
port = shell_strtolong(next, &next);
|
||||
|
||||
running = 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue