2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-26 19:29:04 +00:00

[uri] Allow use of relative URIs when calling churi()

This commit is contained in:
Michael Brown 2009-02-16 04:56:55 +00:00
parent 7bc4093e1a
commit 349868b8fd

View File

@ -36,6 +36,9 @@ struct uri *cwuri = NULL;
* @v uri New working URI, or NULL
*/
void churi ( struct uri *uri ) {
struct uri *new_uri;
new_uri = resolve_uri ( cwuri, uri );
uri_put ( cwuri );
cwuri = uri_get ( uri );
cwuri = new_uri;
}