Mailing List Archive

[openssh] 02/02: portability fix: if we can't dind a better define for HOST_NAME_MAX, use 255
This is an automated email from the git hooks/post-receive script.

tim pushed a commit to branch master
in repository openssh.

commit 676c38d7cbe65b76bbfff796861bb6615cc6a596
Author: Tim Rice <tim@multitalents.net>
Date: Mon Feb 23 21:51:33 2015 -0800

portability fix: if we can't dind a better define for HOST_NAME_MAX, use 255
---
defines.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/defines.h b/defines.h
index 1341606..d99ef68 100644
--- a/defines.h
+++ b/defines.h
@@ -110,6 +110,8 @@ enum
# define HOST_NAME_MAX _POSIX_HOST_NAME_MAX
# elif defined(MAXHOSTNAMELEN)
# define HOST_NAME_MAX MAXHOSTNAMELEN
+# else
+# define HOST_NAME_MAX 255
# endif
#endif /* HOST_NAME_MAX */


--
To stop receiving notification emails like this one, please contact
djm@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits