apps/netutils/ftpc: Fix a typo/compile problem found in build testing.

This commit is contained in:
Gregory Nutt 2018-01-04 18:00:04 -06:00
parent 7a2aac8876
commit 4ad9d7ec19

View File

@ -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';
}