diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-01 14:32:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-01 14:32:04 +0200 |
commit | b0ce9401ffa731cc346ab6762fd0794709634428 (patch) | |
tree | c2e6de01b9efec28c959dbfd5cd59a0973d432e7 /drivers | |
parent | 531c92a53e5e7b9a1cb55249ef6086e874239872 (diff) | |
parent | 3c154eb93b3a098354bf6d18a9428826ec193f90 (diff) |
Merge pull request #30126 from qarmin/remove_unnecessary_code
Remove unnecessary code and add some error explanations
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/unix/net_socket_posix.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/unix/net_socket_posix.cpp b/drivers/unix/net_socket_posix.cpp index 16562e2c8f..f8e771aea0 100644 --- a/drivers/unix/net_socket_posix.cpp +++ b/drivers/unix/net_socket_posix.cpp @@ -684,10 +684,10 @@ Ref<NetSocket> NetSocketPosix::accept(IP_Address &r_ip, uint16_t &r_port) { return Ref<NetSocket>(ns); } -Error NetSocketPosix::join_multicast_group(const IP_Address &p_ip, String p_if_name) { - return _change_multicast_group(p_ip, p_if_name, true); +Error NetSocketPosix::join_multicast_group(const IP_Address &p_multi_address, String p_if_name) { + return _change_multicast_group(p_multi_address, p_if_name, true); } -Error NetSocketPosix::leave_multicast_group(const IP_Address &p_ip, String p_if_name) { - return _change_multicast_group(p_ip, p_if_name, false); +Error NetSocketPosix::leave_multicast_group(const IP_Address &p_multi_address, String p_if_name) { + return _change_multicast_group(p_multi_address, p_if_name, false); } |