From: Matthias Dieter Wallnöfer Date: Wed, 22 Jun 2011 12:46:09 +0000 (+0200) Subject: ldb:ldb_controls.c - cosmetic indentation fix X-Git-Tag: samba-4.0.0alpha17~507 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=aefde815ac44319c734f9459da2d36025c18fc56;p=ddiss%2Fsamba.git ldb:ldb_controls.c - cosmetic indentation fix --- diff --git a/lib/ldb/common/ldb_controls.c b/lib/ldb/common/ldb_controls.c index b3ef2434932..81f3c7a5b1f 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; }