netlib_parseurl.c: Add a comment
This commit is contained in:
parent
a5506b379c
commit
a7de8dffe7
@ -174,6 +174,11 @@ int netlib_parseurl(FAR const char *str, FAR struct url_s *url)
|
|||||||
src++;
|
src++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Note: the current implementation does not distinguish
|
||||||
|
* an empty path and "/". While it's fine for HTTP, maybe it's
|
||||||
|
* cleaner to move the HTTP-specific normalization to the caller.
|
||||||
|
*/
|
||||||
|
|
||||||
*dest++ = '/';
|
*dest++ = '/';
|
||||||
bytesleft--;
|
bytesleft--;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user