git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
218ffbe
)
Remove trailing withespace from wbinfo -m which breaks gdm auth.
author
Andreas Schneider
<anschneider@suse.de>
Mon, 21 Jul 2008 09:52:10 +0000
(11:52 +0200)
committer
Jeremy Allison
<jra@samba.org>
Thu, 24 Jul 2008 20:46:40 +0000
(13:46 -0700)
Signed-off-by: Andreas Schneider <anschneider@suse.de>
source/nsswitch/wbinfo.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/wbinfo.c
b/source/nsswitch/wbinfo.c
index 22d9b2187ce8fd5ca706a7c643b7026bb9cc8e6a..32c6315cce92b85823297a1db12584ddb3e05c7f 100644
(file)
--- 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;
}