|
@@ -148,8 +148,10 @@ int xfer_vopen ( struct xfer_interface *xfer, int type, va_list args ) {
|
148
|
148
|
const char *uri_string = va_arg ( args, const char * );
|
149
|
149
|
|
150
|
150
|
return xfer_open_uri_string ( xfer, uri_string ); }
|
151
|
|
- case LOCATION_URI:
|
152
|
|
-
|
|
151
|
+ case LOCATION_URI: {
|
|
152
|
+ struct uri *uri = va_arg ( args, struct uri * );
|
|
153
|
+
|
|
154
|
+ return xfer_open_uri ( xfer, uri ); }
|
153
|
155
|
case LOCATION_SOCKET: {
|
154
|
156
|
int semantics = va_arg ( args, int );
|
155
|
157
|
struct sockaddr *peer = va_arg ( args, struct sockaddr * );
|