From: Michael Brown Date: Wed, 25 Jul 2007 12:32:02 +0000 (+0100) Subject: Added two lines of code that were completely missing! X-Git-Tag: v0.9.3~163 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c7ffa8c27e604057f04f8fbee842889e47d33ee;p=thirdparty%2Fipxe.git Added two lines of code that were completely missing! --- diff --git a/src/core/open.c b/src/core/open.c index 9f3dc5ff4..db8d92e66 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 * );