mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-27 00:05:06 +00:00
Fix unused parameter
This commit is contained in:
1 parent
f050b13b6a
commit
41d6c1db74
1 file changed
+1
-1
@@ -583,7 +583,7 @@ int getLocalAddressByUdpConnect(const struct sockaddr_storage* targetAddr, SOCKA
|
||||
}
|
||||
|
||||
memcpy(&connAddr, targetAddr, targetAddrLen);
|
||||
SET_PORT(&connAddr, RtspPortNumber);
|
||||
SET_PORT(&connAddr, targetPort);
|
||||
|
||||
if (connect(udpSocket, (struct sockaddr*)&connAddr, targetAddrLen) < 0) {
|
||||
int err = LastSocketError();
|
||||
|
||||
Reference in new issue
Block a user