From a6be9a6d3c03794ea2efc7b54741db25ca4cef7a Mon Sep 17 00:00:00 2001 From: adamdunkels Date: Tue, 17 Mar 2009 20:12:55 +0000 Subject: [PATCH] Removed NULL pointer to make sdcc happy --- apps/shell/shell-tcpsend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/shell/shell-tcpsend.c b/apps/shell/shell-tcpsend.c index 9a04ce3fc..f6337fd03 100644 --- a/apps/shell/shell-tcpsend.c +++ b/apps/shell/shell-tcpsend.c @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $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 @@ -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;