apps/netutils/ftpc: Fixed handling of url-encoded strings
This commit is contained in:
parent
9d4b9e8a67
commit
1b4d17d9c0
@ -247,7 +247,7 @@ FAR char *ftpc_dequote(FAR const char *str)
|
|||||||
{
|
{
|
||||||
/* Save the binary value and skip ahead by 3 */
|
/* Save the binary value and skip ahead by 3 */
|
||||||
|
|
||||||
*ptr++ = (char)(ms << 8 | ls);
|
*ptr++ = (char)(ms << 4 | ls);
|
||||||
str += 3;
|
str += 3;
|
||||||
len -= 3;
|
len -= 3;
|
||||||
continue;
|
continue;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user