summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-12-13 11:28:59 +0100
committerStefan Metzmacher <metze@samba.org>2010-12-13 15:32:04 +0100
commitd7c536b8e4e58b13cfb1be80dcfaae8b6714a5a1 (patch)
tree286c779643a11258f5c5802bc8989c065cb23c2c /source4
parenta5cfdde558314ea8bd8b9421d0fffd9acbfb7de9 (diff)
downloadsamba-d7c536b8e4e58b13cfb1be80dcfaae8b6714a5a1.tar.gz
samba-d7c536b8e4e58b13cfb1be80dcfaae8b6714a5a1.tar.bz2
samba-d7c536b8e4e58b13cfb1be80dcfaae8b6714a5a1.zip
s4:dsdb:util: dsdb_get_single_valued_attr() only needs a const ldb_messages
metze
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/util.c b/source4/dsdb/samdb/ldb_modules/util.c
index 9608b061c4..78dd59012c 100644
--- a/source4/dsdb/samdb/ldb_modules/util.c
+++ b/source4/dsdb/samdb/ldb_modules/util.c
@@ -1136,7 +1136,7 @@ void dsdb_req_chain_debug(struct ldb_request *req, int level)
* does work properly, the change request should remain similar or only be
* enhanced (no other modifications as deletions, variations).
*/
-struct ldb_message_element *dsdb_get_single_valued_attr(struct ldb_message *msg,
+struct ldb_message_element *dsdb_get_single_valued_attr(const struct ldb_message *msg,
const char *attr_name,
enum ldb_request_type operation)
{