From daf3b992cc4a6cd4d3d78ce96b26f29781ecb4e5 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 6 Mar 2016 15:36:46 -0800 Subject: [PATCH] Update to the modified ENet API --- enet | 2 +- limelight-common/ControlStream.c | 2 +- limelight-common/RtspConnection.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/enet b/enet index 4d10671..4f7ef11 160000 --- a/enet +++ b/enet @@ -1 +1 @@ -Subproject commit 4d1067179bd933c6bf6465c406243472128fa34b +Subproject commit 4f7ef11c2352dc53539d1ff93887ef637a6c2e2f diff --git a/limelight-common/ControlStream.c b/limelight-common/ControlStream.c index 2b6fa3a..741d7ac 100644 --- a/limelight-common/ControlStream.c +++ b/limelight-common/ControlStream.c @@ -591,7 +591,7 @@ int startControlStream(void) { } enet_address_set_host(&address, RemoteAddrString); - address.port = 47999; + enet_address_set_port(&address, 47999); // Connect to the host peer = enet_host_connect(client, &address, 1, 0); diff --git a/limelight-common/RtspConnection.c b/limelight-common/RtspConnection.c index 9b48adb..c232f22 100644 --- a/limelight-common/RtspConnection.c +++ b/limelight-common/RtspConnection.c @@ -455,7 +455,7 @@ int performRtspHandshake(void) { } enet_address_set_host(&address, RemoteAddrString); - address.port = 48010; + enet_address_set_port(&address, 48010); // Connect to the host peer = enet_host_connect(client, &address, 1, 0);