diff --git a/tdutils/td/utils/port/UdpSocketFd.cpp b/tdutils/td/utils/port/UdpSocketFd.cpp index fc57aeb32..d4c2198f3 100644 --- a/tdutils/td/utils/port/UdpSocketFd.cpp +++ b/tdutils/td/utils/port/UdpSocketFd.cpp @@ -700,7 +700,7 @@ class UdpSocketFdImpl { #ifdef MSG_ERRQUEUE flags = MSG_ERRQUEUE; #else - return fd_.get_pending_error(); + return get_pending_error(); #endif } //struct mmsghdr {