summaryrefslogtreecommitdiff
path: root/lib/ldb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-06-22 14:46:09 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-08-19 19:31:04 +0200
commitaefde815ac44319c734f9459da2d36025c18fc56 (patch)
treedd8cf227505abf38aad7e5ddbe86c63210660cbf /lib/ldb
parent87b482a89e045b8ae253911cb55b4957ee71175e (diff)
downloadsamba-aefde815ac44319c734f9459da2d36025c18fc56.tar.gz
samba-aefde815ac44319c734f9459da2d36025c18fc56.tar.bz2
samba-aefde815ac44319c734f9459da2d36025c18fc56.zip
ldb:ldb_controls.c - cosmetic indentation fix
Diffstat (limited to 'lib/ldb')
-rw-r--r--lib/ldb/common/ldb_controls.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/ldb/common/ldb_controls.c b/lib/ldb/common/ldb_controls.c
index b3ef243493..81f3c7a5b1 100644
--- a/lib/ldb/common/ldb_controls.c
+++ b/lib/ldb/common/ldb_controls.c
@@ -373,17 +373,16 @@ char *ldb_control_to_string(TALLOC_CTX *mem_ctx, const struct ldb_control *contr
*/
if (control->data == NULL) {
/*
- * We don't know the control but there is no real data attached to it
- * so we can represent it with local_oid:oid:criticity
+ * We don't know the control but there is no real data attached
+ * to it so we can represent it with local_oid:oid:criticity.
*/
res = talloc_asprintf(mem_ctx, "local_oid:%s:%d",
control->oid,
control->critical);
- return res;
- }
-
+ } else {
res = talloc_asprintf(mem_ctx, "unknown oid:%s",
control->oid);
+ }
return res;
}