apps/netutils/ftpc: Fix a typo/compile problem found in build testing.
This commit is contained in:
parent
7a2aac8876
commit
4ad9d7ec19
@ -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…
x
Reference in New Issue
Block a user