Allow xfer_open() to take a struct uri as well as a URI string.

This commit is contained in:
Michael Brown
2007-06-09 18:20:08 +01:00
parent 1ae549b892
commit 2c569fb240
3 changed files with 40 additions and 18 deletions

View File

@@ -224,7 +224,7 @@ int open ( const char *uri_string ) {
INIT_LIST_HEAD ( &file->data );
/* Open URI on data transfer interface */
if ( ( rc = xfer_open_uri ( &file->xfer, uri_string ) ) != 0 )
if ( ( rc = xfer_open_uri_string ( &file->xfer, uri_string ) ) != 0 )
goto err;
/* Wait for open to succeed or fail */