2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-12-14 15:21:32 +00:00

Added two lines of code that were completely missing!

This commit is contained in:
Michael Brown 2007-07-25 13:32:02 +01:00
parent 09118cd5bf
commit 2c7ffa8c27

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