Fix ENet comments

This commit is contained in:
Cameron Gutman 2018-01-19 20:25:54 -08:00
parent 75f5477c85
commit cafc4d8125

View File

@ -275,7 +275,6 @@ Exit:
} }
static int transactRtspMessage(PRTSP_MESSAGE request, PRTSP_MESSAGE response, int expectingPayload, int* error) { static int transactRtspMessage(PRTSP_MESSAGE request, PRTSP_MESSAGE response, int expectingPayload, int* error) {
// Gen 5+ does RTSP over ENet not TCP
if (useEnet) { if (useEnet) {
return transactRtspMessageEnet(request, response, expectingPayload, error); return transactRtspMessageEnet(request, response, expectingPayload, error);
} }
@ -458,7 +457,7 @@ int performRtspHandshake(void) {
break; break;
} }
// Gen 5 servers use ENet to do the RTSP handshake // Setup ENet if required by this GFE version
if (useEnet) { if (useEnet) {
ENetAddress address; ENetAddress address;
ENetEvent event; ENetEvent event;