[SCM] Samba Shared Repository - branch master updated
Volker Lendecke
vlendec at samba.org
Sun May 15 16:31:03 MDT 2011
The branch, master has been updated
via 068f847 s3: Fix return check in nss_wins
from 30be9fe s3: Make&use set_socket_addr_v4
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 068f847fe2682ab6e356db7b9ae6151f82605f0e
Author: Volker Lendecke <vl at samba.org>
Date: Sun May 15 23:26:10 2011 +0200
s3: Fix return check in nss_wins
Autobuild-User: Volker Lendecke <vlendec at samba.org>
Autobuild-Date: Mon May 16 00:30:42 CEST 2011 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
nsswitch/wins.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/nsswitch/wins.c b/nsswitch/wins.c
index e0aa2ad..f5fd7a7 100644
--- a/nsswitch/wins.c
+++ b/nsswitch/wins.c
@@ -99,7 +99,7 @@ static struct in_addr *lookup_byname_backend(const char *name, int *count)
in_addr_to_sockaddr_storage(&ss, *bcast);
status = name_query(name, 0x00, True, True, &ss,
NULL, &pss, count, NULL);
- if (pss) {
+ if (NT_STATUS_IS_OK(status) && (*count > 0)) {
if ((ret = SMB_MALLOC_P(struct in_addr)) == NULL) {
return NULL;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list