mirror of
https://github.com/ipxe/ipxe
synced 2025-12-17 10:01:03 +03:00
[uri] Fix outdated comment in parse_uri()
Signed-off-by: Marty Connor <mdc@etherboot.org>
This commit is contained in:
@@ -85,7 +85,7 @@ struct uri * parse_uri ( const char *uri_string ) {
|
|||||||
return NULL;
|
return NULL;
|
||||||
raw = ( ( ( char * ) uri ) + sizeof ( *uri ) );
|
raw = ( ( ( char * ) uri ) + sizeof ( *uri ) );
|
||||||
|
|
||||||
/* Zero URI struct and copy in the raw string */
|
/* Copy in the raw string */
|
||||||
memcpy ( raw, uri_string, raw_len );
|
memcpy ( raw, uri_string, raw_len );
|
||||||
|
|
||||||
/* Start by chopping off the fragment, if it exists */
|
/* Start by chopping off the fragment, if it exists */
|
||||||
|
|||||||
Reference in New Issue
Block a user