git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aa6751
)
s4-dsdb: fixed compiler warning
author
Andrew Tridgell
<tridge@samba.org>
Mon, 5 Sep 2011 07:07:22 +0000
(17:07 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 8 Sep 2011 01:35:27 +0000
(
03:35
+0200)
sid can be const
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/common/util.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/common/util.c
b/source4/dsdb/common/util.c
index f64e624dfda515f94fffb034e8c151be0d58b209..3276ec801931ad55d01a99d46dd7f405debc35b7 100644
(file)
--- a/
source4/dsdb/common/util.c
+++ b/
source4/dsdb/common/util.c
@@
-715,7
+715,7
@@
int samdb_find_or_add_attribute(struct ldb_context *ldb, struct ldb_message *msg
add a dom_sid element to a message
*/
int samdb_msg_add_dom_sid(struct ldb_context *sam_ldb, TALLOC_CTX *mem_ctx, struct ldb_message *msg,
-
const char *attr_name,
struct dom_sid *sid)
+
const char *attr_name, const
struct dom_sid *sid)
{
struct ldb_val v;
enum ndr_err_code ndr_err;