Browse Source

Must request data before anything actually happens...

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
7d2535779c
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/core/posix_io.c

+ 4
- 0
src/core/posix_io.c View File

224
 	if ( ( rc = xfer_open_uri ( &file->xfer, uri_string ) ) != 0 )
224
 	if ( ( rc = xfer_open_uri ( &file->xfer, uri_string ) ) != 0 )
225
 		goto err;
225
 		goto err;
226
 
226
 
227
+	/* Request data */
228
+	if ( ( rc = xfer_request_all ( &file->xfer ) ) != 0 )
229
+		goto err;
230
+
227
 	/* Wait for open to succeed or fail */
231
 	/* Wait for open to succeed or fail */
228
 	while ( list_empty ( &file->data ) ) {
232
 	while ( list_empty ( &file->data ) ) {
229
 		step();
233
 		step();

Loading…
Cancel
Save