From: Thomas Markwalder Date: Mon, 9 Apr 2018 18:56:22 +0000 (-0400) Subject: [5556a] Commentary changes X-Git-Tag: trac5458a_base~17^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50b0a07068b931ffd863fe550f6a08288f22906c;p=thirdparty%2Fkea.git [5556a] Commentary changes --- diff --git a/src/lib/dhcpsrv/tests/test_utils.h b/src/lib/dhcpsrv/tests/test_utils.h index febb90cd45..913224c0d2 100644 --- a/src/lib/dhcpsrv/tests/test_utils.h +++ b/src/lib/dhcpsrv/tests/test_utils.h @@ -34,17 +34,17 @@ detailCompareLease(const Lease6Ptr& first, const Lease6Ptr& second); void detailCompareLease(const Lease4Ptr& first, const Lease4Ptr& second); -/// @brief Function that finds the last open socket fd +/// @brief Function that finds the last open socket descriptor /// /// This function is used to attempt lost connectivity /// with backends, notably MySQL and Postgresql. /// -/// The theory being, that in a confined test environment -/// the last such fd is the SQL client socket fd. This allows -/// us to the close that fd and simulate a loss of server +/// The theory being, that in a confined test environment the last +/// such descriptor is the SQL client socket descriptor. This allows +/// us to the close that descriptor and simulate a loss of server /// connectivity. /// -/// @return the fd of the last open socket or -1 if there +/// @return the descriptor of the last open socket or -1 if there /// are none. int findLastSocketFd();