The branch, v3-2-test has been updated
       via  cdf10e6ee9faff42693bb39ede535cc6611a8fc9 (commit)
      from  218ffbe3876dbd58f56e107819dec2e74f5d2f1a (commit)

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


- Log -----------------------------------------------------------------
commit cdf10e6ee9faff42693bb39ede535cc6611a8fc9
Author: Andreas Schneider <[EMAIL PROTECTED]>
Date:   Mon Jul 21 11:52:10 2008 +0200

    Remove trailing withespace from wbinfo -m which breaks gdm auth.
    
    Signed-off-by: Andreas Schneider <[EMAIL PROTECTED]>

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

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 22d9b21..32c6315 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

Reply via email to