mirror of
https://github.com/xcat2/xNBA.git
synced 2025-03-01 16:50:32 +00:00
Must request data before anything actually happens...
This commit is contained in:
parent
b63b14ff32
commit
7d2535779c
@ -224,6 +224,10 @@ int open ( const char *uri_string ) {
|
||||
if ( ( rc = xfer_open_uri ( &file->xfer, uri_string ) ) != 0 )
|
||||
goto err;
|
||||
|
||||
/* Request data */
|
||||
if ( ( rc = xfer_request_all ( &file->xfer ) ) != 0 )
|
||||
goto err;
|
||||
|
||||
/* Wait for open to succeed or fail */
|
||||
while ( list_empty ( &file->data ) ) {
|
||||
step();
|
||||
|
Loading…
x
Reference in New Issue
Block a user