From 66bde49d96a9ddacc49dcbdf1b47b5bd6e31ead5 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Tue, 13 Aug 2019 13:53:41 +0900 Subject: Fix inconsistencies and typos in the tree, take 10 This addresses some issues with unnecessary code comments, fixes various typos in docs and comments, and removes some orphaned structures and definitions. Author: Alexander Lakhin Discussion: https://postgr.es/m/9aabc775-5494-b372-8bcb-4dfc0bd37c68@gmail.com --- src/port/getaddrinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/port') diff --git a/src/port/getaddrinfo.c b/src/port/getaddrinfo.c index 7f53afbea26..536c5f686e2 100644 --- a/src/port/getaddrinfo.c +++ b/src/port/getaddrinfo.c @@ -49,8 +49,8 @@ typedef void (__stdcall * freeaddrinfo_ptr_t) (struct addrinfo *ai); typedef int (__stdcall * getnameinfo_ptr_t) (const struct sockaddr *sa, int salen, - char *host, int hostlen, - char *serv, int servlen, + char *node, int nodelen, + char *service, int servicelen, int flags); /* static pointers to the native routines, so we only do the lookup once. */ -- cgit v1.2.3