mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-09 10:16:33 +00:00
apps/netutils/ftpc: Fix a typo/compile problem found in build testing.
This commit is contained in:
parent
7a2aac8876
commit
4ad9d7ec19
1 changed files with 1 additions and 1 deletions
|
|
@ -166,7 +166,7 @@ void ftpc_stripcrlf(FAR char *str)
|
|||
{
|
||||
for (ptr = str + len - 1;
|
||||
len > 0 && (*ptr == '\r' || *ptr == '\n');
|
||||
ptr--, len--;
|
||||
ptr--, len--)
|
||||
{
|
||||
*ptr = '\0';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue