[SCM] Samba Shared Repository - branch v3-2-test updated -
initial-v3-2-unstable-103-gbc9008a
Jeremy Allison
jra at samba.org
Wed Oct 24 21:41:00 GMT 2007
The branch, v3-2-test has been updated
via bc9008aa1dcb66890795f0ff2d3046da7df867d9 (commit)
from 98e154c3125d5732c37a72d74b0eb5cd7b6155fd (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit bc9008aa1dcb66890795f0ff2d3046da7df867d9
Author: Jeremy Allison <jra at samba.org>
Date: Wed Oct 24 14:40:24 2007 -0700
We do support name lookups for host and service in our replacement
code - remove the restrictions from the original Postgres code.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source/lib/replace/getaddrinfo.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/lib/replace/getaddrinfo.c b/source/lib/replace/getaddrinfo.c
index 519c300..0bff746 100644
--- a/source/lib/replace/getaddrinfo.c
+++ b/source/lib/replace/getaddrinfo.c
@@ -486,11 +486,6 @@ int getnameinfo(const struct sockaddr *sa, socklen_t salen,
return EAI_FAIL;
}
- /* We don't support those. */
- if ((node && !(flags & NI_NUMERICHOST))
- || (service && !(flags & NI_NUMERICSERV)))
- return EAI_FAIL;
-
if (node) {
return gethostnameinfo(sa, node, nodelen, flags);
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list