david/ipxe
Archived
1
0

Must request data before anything actually happens...

This commit is contained in:
Michael Brown 2007-05-18 15:36:11 +00:00
parent b63b14ff32
commit 7d2535779c

View File

@ -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();