From aefde815ac44319c734f9459da2d36025c18fc56 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Wed, 22 Jun 2011 14:46:09 +0200 Subject: ldb:ldb_controls.c - cosmetic indentation fix --- lib/ldb/common/ldb_controls.c | 9 ++++----- 1 file 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; } -- cgit