git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e54b5e
)
s4:scheam quiet a 'const' warning
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 26 Aug 2009 02:32:47 +0000
(12:32 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 26 Aug 2009 02:32:47 +0000
(12:32 +1000)
source4/dsdb/schema/schema_init.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/schema/schema_init.c
b/source4/dsdb/schema/schema_init.c
index 86f9cae4068e9c4a3530e1cb3486df6bc54b3c28..e741bc0ee5710dacf74be45f4e2612b56ae64369 100644
(file)
--- a/
source4/dsdb/schema/schema_init.c
+++ b/
source4/dsdb/schema/schema_init.c
@@
-653,7
+653,7
@@
static int dsdb_schema_setup_ldb_schema_attribute(struct ldb_context *ldb,
#define GET_STRING_LDB(msg, attr, mem_ctx, p, elem, strict) do { \
- struct ldb_val *get_string_val = ldb_msg_find_ldb_val(msg, attr); \
+
const
struct ldb_val *get_string_val = ldb_msg_find_ldb_val(msg, attr); \
if (get_string_val == NULL) { \
if (strict) { \
d_printf("%s: %s == NULL\n", __location__, attr); \