[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Sat Jun 25 07:41:01 MDT 2011


The branch, master has been updated
       via  ebd70d8 s3: Fix winbindd_wins_byname
      from  3e73ed7 s3:test: don't rely on pyhton being in /usr/bin/python in the sids2xids test

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit ebd70d8c4256ce46a3966ce43e8d032f2b455e9d
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Jun 25 14:25:38 2011 +0200

    s3: Fix winbindd_wins_byname
    
    Before the async change, the addresses were separated by spaces, not tabs
    
    Autobuild-User: Volker Lendecke <vlendec at samba.org>
    Autobuild-Date: Sat Jun 25 15:40:15 CEST 2011 on sn-devel-104

-----------------------------------------------------------------------

Summary of changes:
 source3/winbindd/winbindd_wins_byname.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_wins_byname.c b/source3/winbindd/winbindd_wins_byname.c
index ad642d4..742aaf2 100644
--- a/source3/winbindd/winbindd_wins_byname.c
+++ b/source3/winbindd/winbindd_wins_byname.c
@@ -127,14 +127,15 @@ NTSTATUS winbindd_wins_byname_recv(struct tevent_req *req,
 		print_sockaddr(addr, sizeof(addr), &state->addrs[i]);
 
 		response = talloc_asprintf_append_buffer(
-			response, "%s\t", addr);
+			response, "%s%s", addr,
+			i < (state->num_addrs-1) ? " " : "");
 		if (response == NULL) {
 			return NT_STATUS_NO_MEMORY;
 		}
 	}
 
 	response = talloc_asprintf_append_buffer(
-		response, "%s\n", state->request->data.winsreq);
+		response, "\t%s\n", state->request->data.winsreq);
 	if (response == NULL) {
 		return NT_STATUS_NO_MEMORY;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list