From 7d2535779caed7389ae93ea74fab26acc851b637 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 18 May 2007 15:36:11 +0000 Subject: [PATCH] Must request data before anything actually happens... --- src/core/posix_io.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/core/posix_io.c b/src/core/posix_io.c index 2974a4c8..a8876b73 100644 --- a/src/core/posix_io.c +++ b/src/core/posix_io.c @@ -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();