summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_util.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c
index 29a4ca93eb..076ab1a2fc 100644
--- a/source3/nsswitch/winbindd_util.c
+++ b/source3/nsswitch/winbindd_util.c
@@ -123,8 +123,7 @@ static struct winbindd_domain *add_trusted_domain(const char *domain_name, const
/* Create new domain entry */
- if ((domain = (struct winbindd_domain *)
- malloc(sizeof(*domain))) == NULL)
+ if ((domain = (struct winbindd_domain *)malloc(sizeof(*domain))) == NULL)
return NULL;
/* Fill in fields */
@@ -164,7 +163,7 @@ static struct winbindd_domain *add_trusted_domain(const char *domain_name, const
DEBUG(1,("Added domain %s %s %s\n",
domain->name, domain->alt_name,
- sid?sid_string_static(&domain->sid):""));
+ &domain->sid?sid_string_static(&domain->sid):""));
return domain;
}