git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3198b3
)
r25857: Indent
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 6 Nov 2007 02:47:41 +0000
(
03:47
+0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 21 Dec 2007 04:44:30 +0000
(
05:44
+0100)
(This used to be commit
f42690a90c2f76e7fc130ebbdbd0f93fefacfad6
)
source4/lib/ldb/common/ldb_msg.c
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/common/ldb_msg.c
b/source4/lib/ldb/common/ldb_msg.c
index e9c04df55a8538ef012dab33d5d0389a3f74f498..528d1d54f1e0f4658fdedd57af767de3139b8c3a 100644
(file)
--- a/
source4/lib/ldb/common/ldb_msg.c
+++ b/
source4/lib/ldb/common/ldb_msg.c
@@
-321,7
+321,8
@@
int ldb_msg_element_compare_name(struct ldb_message_element *el1,
convenience functions to return common types from a message
these return the first value if the attribute is multi-valued
*/
-const struct ldb_val *ldb_msg_find_ldb_val(const struct ldb_message *msg, const char *attr_name)
+const struct ldb_val *ldb_msg_find_ldb_val(const struct ldb_message *msg,
+ const char *attr_name)
{
struct ldb_message_element *el = ldb_msg_find_element(msg, attr_name);
if (!el || el->num_values == 0) {