mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-19 19:44:35 +08:00
Fix a copy-paste error
This commit is contained in:
@@ -84,6 +84,8 @@
|
||||
|
||||
static void set_nul_terminator(FAR char *str)
|
||||
{
|
||||
/* The first non-decimal character that is not '.' terminates the address */
|
||||
|
||||
while ((*str >= '0' && *str <= '9') || *str == '.')
|
||||
{
|
||||
str++;
|
||||
|
Reference in New Issue
Block a user