summaryrefslogtreecommitdiffstats
path: root/src/core/open.c
diff options
context:
space:
mode:
authorMichael Brown2007-07-25 14:32:02 +0200
committerMichael Brown2007-07-25 14:32:02 +0200
commit2c7ffa8c27e604057f04f8fbee842889e47d33ee (patch)
tree9408e76766e2346fd7bb621819480da5eaafdd6a /src/core/open.c
parentDon't overwrite %dl with a (potentially) modified drive number if we (diff)
downloadipxe-2c7ffa8c27e604057f04f8fbee842889e47d33ee.tar.gz
ipxe-2c7ffa8c27e604057f04f8fbee842889e47d33ee.tar.xz
ipxe-2c7ffa8c27e604057f04f8fbee842889e47d33ee.zip
Added two lines of code that were completely missing!
Diffstat (limited to 'src/core/open.c')
-rw-r--r--src/core/open.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/open.c b/src/core/open.c
index 9f3dc5ff..db8d92e6 100644
--- a/src/core/open.c
+++ b/src/core/open.c
@@ -148,8 +148,10 @@ int xfer_vopen ( struct xfer_interface *xfer, int type, va_list args ) {
const char *uri_string = va_arg ( args, const char * );
return xfer_open_uri_string ( xfer, uri_string ); }
- case LOCATION_URI:
-
+ case LOCATION_URI: {
+ struct uri *uri = va_arg ( args, struct uri * );
+
+ return xfer_open_uri ( xfer, uri ); }
case LOCATION_SOCKET: {
int semantics = va_arg ( args, int );
struct sockaddr *peer = va_arg ( args, struct sockaddr * );