summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-03-02 17:10:48 +0100
committerMichael Adam <obnox@samba.org>2011-03-11 01:29:09 +0100
commit0726b29e5967f2d3fba21b6556b4d8c102ab3621 (patch)
tree81e837b6a29ba2d40bf8691d50d795028f822f44
parent8953c7dc266b8ccd03a42e53f38e29610181dd00 (diff)
downloadsamba-0726b29e5967f2d3fba21b6556b4d8c102ab3621.tar.gz
samba-0726b29e5967f2d3fba21b6556b4d8c102ab3621.tar.bz2
samba-0726b29e5967f2d3fba21b6556b4d8c102ab3621.zip
s3:idmap_ldap: fix a few typos in a comment
and use the chance to reformat the comment properly... Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Mar 11 01:29:09 CET 2011 on sn-devel-104
-rw-r--r--source3/winbindd/idmap_ldap.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/winbindd/idmap_ldap.c b/source3/winbindd/idmap_ldap.c
index 8444d01620..aaac75f101 100644
--- a/source3/winbindd/idmap_ldap.c
+++ b/source3/winbindd/idmap_ldap.c
@@ -513,9 +513,10 @@ static NTSTATUS idmap_ldap_db_init(struct idmap_domain *dom,
goto done;
}
- /* set the destructor on the context, so that resource are properly
- freed if the contexts is released */
-
+ /*
+ * Set the destructor on the context, so that resources are
+ * properly freed when the context is released.
+ */
talloc_set_destructor(ctx, idmap_ldap_close_destructor);
dom->private_data = ctx;