git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87b482a
)
ldb:ldb_controls.c - cosmetic indentation fix
author
Matthias Dieter Wallnöfer
<mdw@samba.org>
Wed, 22 Jun 2011 12:46:09 +0000
(14:46 +0200)
committer
Matthias Dieter Wallnöfer
<mdw@samba.org>
Fri, 19 Aug 2011 17:31:04 +0000
(19:31 +0200)
lib/ldb/common/ldb_controls.c
patch
|
blob
|
history
diff --git
a/lib/ldb/common/ldb_controls.c
b/lib/ldb/common/ldb_controls.c
index b3ef2434932ba914dc5f56beec146f1e0e0d7a3e..81f3c7a5b1fb51df16b55450c608fccc4bfe2bad 100644
(file)
--- 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;
}