mirror of
https://github.com/openssh/openssh-portable.git
synced 2026-06-30 19:57:57 +00:00
openbsd-compat: reword EAI_NONAME error string
Reword the EAI_NONAME message in fake-rfc2553.c to make it clearer and grammatically correct. While there, remove a couple of stray periods from other error strings to keep the messages consistent. No functional change.
This commit is contained in:
committed by
Damien Miller
parent
fd7d4b2b52
commit
6eb5a68c42
@@ -94,13 +94,13 @@ gai_strerror(int err)
|
||||
case EAI_NODATA:
|
||||
return ("no address associated with name");
|
||||
case EAI_MEMORY:
|
||||
return ("memory allocation failure.");
|
||||
return ("memory allocation failure");
|
||||
case EAI_NONAME:
|
||||
return ("nodename nor servname provided, or not known");
|
||||
return ("name or service is not known");
|
||||
case EAI_FAMILY:
|
||||
return ("ai_family not supported");
|
||||
default:
|
||||
return ("unknown/invalid error.");
|
||||
return ("unknown/invalid error");
|
||||
}
|
||||
}
|
||||
#endif /* !HAVE_GAI_STRERROR */
|
||||
|
||||
Reference in New Issue
Block a user