diff --git a/Changelog.txt b/Changelog.txt index a283f88..9c3f2c0 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -8,6 +8,7 @@ Release 0.5.0 (pending) Release 0.4.4 (pending) ========================== +- Report error for SoapyRPCSocket close() failure - SoapyLogAcceptor fix shutdown when connection is lost - SoapyRPCUnpacker fix select logic for small timeouts diff --git a/common/SoapyRPCSocket.cpp b/common/SoapyRPCSocket.cpp index e847d2c..8f7234d 100644 --- a/common/SoapyRPCSocket.cpp +++ b/common/SoapyRPCSocket.cpp @@ -111,6 +111,7 @@ int SoapyRPCSocket::close(void) if (this->null()) return 0; int ret = ::closesocket(_sock); _sock = INVALID_SOCKET; + if (ret != 0) this->reportError("closesocket()"); return ret; }