mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
pgindent run before PG 9.1 beta 1.
This commit is contained in:
@ -329,7 +329,7 @@ gai_strerror(int errcode)
|
||||
return "Not enough memory";
|
||||
#endif
|
||||
#ifdef EAI_NODATA
|
||||
#if !defined(WIN64) && !defined(WIN32_ONLY_COMPILER) /* MSVC/WIN64 duplicate */
|
||||
#if !defined(WIN64) && !defined(WIN32_ONLY_COMPILER) /* MSVC/WIN64 duplicate */
|
||||
case EAI_NODATA:
|
||||
return "No host data of that type was found";
|
||||
#endif
|
||||
@ -390,9 +390,9 @@ getnameinfo(const struct sockaddr * sa, int salen,
|
||||
if (sa->sa_family == AF_INET)
|
||||
{
|
||||
if (inet_net_ntop(AF_INET, &((struct sockaddr_in *) sa)->sin_addr,
|
||||
sa->sa_family == AF_INET ? 32 : 128,
|
||||
node, nodelen) == NULL)
|
||||
return EAI_MEMORY;
|
||||
sa->sa_family == AF_INET ? 32 : 128,
|
||||
node, nodelen) == NULL)
|
||||
return EAI_MEMORY;
|
||||
}
|
||||
else
|
||||
return EAI_MEMORY;
|
||||
|
Reference in New Issue
Block a user