Sfoglia il codice sorgente

Added two lines of code that were completely missing!

tags/v0.9.3
Michael Brown 17 anni fa
parent
commit
2c7ffa8c27
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4
    2
      src/core/open.c

+ 4
- 2
src/core/open.c Vedi File

@@ -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 * );

Loading…
Annulla
Salva