ntp: rename NIO_Get*Socket functions

This commit is contained in:
Miroslav Lichvar
2015-01-05 14:17:21 +01:00
parent 7a90dab8ff
commit 6d1dda0fad
3 changed files with 9 additions and 9 deletions

View File

@@ -347,7 +347,7 @@ NIO_Finalise(void)
/* ================================================== */
int
NIO_GetClientSocket(NTP_Remote_Address *remote_addr)
NIO_OpenClientSocket(NTP_Remote_Address *remote_addr)
{
if (separate_client_sockets) {
int sock_fd = prepare_separate_client_socket(remote_addr->ip_addr.family);
@@ -378,7 +378,7 @@ NIO_GetClientSocket(NTP_Remote_Address *remote_addr)
/* ================================================== */
int
NIO_GetServerSocket(NTP_Remote_Address *remote_addr)
NIO_OpenServerSocket(NTP_Remote_Address *remote_addr)
{
switch (remote_addr->ip_addr.family) {
case IPADDR_INET4: