Added two lines of code that were completely missing!
authorMichael Brown <mcb30@etherboot.org>
Wed, 25 Jul 2007 12:32:02 +0000 (13:32 +0100)
committerMichael Brown <mcb30@etherboot.org>
Wed, 25 Jul 2007 12:32:02 +0000 (13:32 +0100)
src/core/open.c

index 9f3dc5f..db8d92e 100644 (file)
@@ -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 * );