summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-09-01 23:24:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:36:23 -0500
commit95fcf031b0480ada75ed5ed02826f4acf196be77 (patch)
treedd31ff39045fa64b17e20ad72d62dc61992dcda2 /source4
parentca875491688f755637aece917147f149906f9a8f (diff)
downloadsamba-95fcf031b0480ada75ed5ed02826f4acf196be77.tar.gz
samba-95fcf031b0480ada75ed5ed02826f4acf196be77.tar.bz2
samba-95fcf031b0480ada75ed5ed02826f4acf196be77.zip
r9929: Fix indentation
Andrew Bartlett (This used to be commit d6f57ec921839b46534eb64a7b6374161ff37835)
Diffstat (limited to 'source4')
-rw-r--r--source4/lib/credentials.c4
-rw-r--r--source4/lib/ldb/common/ldb_dn.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/source4/lib/credentials.c b/source4/lib/credentials.c
index 162b52e5d0..ce122197b8 100644
--- a/source4/lib/credentials.c
+++ b/source4/lib/credentials.c
@@ -128,7 +128,9 @@ const char *cli_credentials_get_principal(struct cli_credentials *cred, TALLOC_C
return talloc_reference(mem_ctx, cred->principal);
}
-BOOL cli_credentials_set_principal(struct cli_credentials *cred, const char *val, enum credentials_obtained obtained)
+BOOL cli_credentials_set_principal(struct cli_credentials *cred,
+ const char *val,
+ enum credentials_obtained obtained)
{
if (obtained >= cred->principal_obtained) {
cred->principal = talloc_strdup(cred, val);
diff --git a/source4/lib/ldb/common/ldb_dn.c b/source4/lib/ldb/common/ldb_dn.c
index 20cef9dd81..d1a311dad6 100644
--- a/source4/lib/ldb/common/ldb_dn.c
+++ b/source4/lib/ldb/common/ldb_dn.c
@@ -688,7 +688,7 @@ struct ldb_dn *ldb_dn_get_parent(void *mem_ctx, const struct ldb_dn *dn)
}
struct ldb_dn_component *ldb_dn_build_component(void *mem_ctx, const char *attr,
- const char *val)
+ const char *val)
{
struct ldb_dn_component *dc;
@@ -783,7 +783,7 @@ struct ldb_dn *ldb_dn_compose(void *mem_ctx, const struct ldb_dn *dn1, const str
for (i = 0; i < dn1->comp_num; i++) {
new->components[i] = ldb_dn_copy_component(new->components,
- &(dn1->components[i]));
+ &(dn1->components[i]));
}
return new;