[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3411-g12848e8

Jeremy Allison jra at samba.org
Thu Jul 24 20:47:33 GMT 2008


The branch, v3-3-test has been updated
       via  12848e8eb91bf60551ada78e3430ee25142e366b (commit)
      from  15004019676a5d860f9d5fbfbecbd31fcec8bf5b (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit 12848e8eb91bf60551ada78e3430ee25142e366b
Author: Andreas Schneider <anschneider at suse.de>
Date:   Mon Jul 21 11:52:10 2008 +0200

    Remove trailing withespace from wbinfo -m which breaks gdm auth.
    
    Signed-off-by: Andreas Schneider <anschneider at suse.de>

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

Summary of changes:
 source/nsswitch/wbinfo.c |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/nsswitch/wbinfo.c b/source/nsswitch/wbinfo.c
index 2fb46c4..c1d41a5 100644
--- a/source/nsswitch/wbinfo.c
+++ b/source/nsswitch/wbinfo.c
@@ -359,10 +359,11 @@ static bool wbinfo_list_domains(bool list_all_domains, bool verbose)
 	}
 
 	for (i=0; i<num_domains; i++) {
-		d_printf("%-16s", domain_list[i].short_name);
-
-		if (!print_all) {
-			d_printf("\n");	
+		if (print_all) {
+			d_printf("%-16s", domain_list[i].short_name);
+		} else {
+			d_printf("%s", domain_list[i].short_name);
+			d_printf("\n");
 			continue;
 		}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list