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:
1afc7c4
)
s4-dsdb: fixed a printf format warning
author
Andrew Tridgell
<tridge@samba.org>
Sun, 20 Sep 2009 22:45:53 +0000
(15:45 -0700)
committer
Andrew Tridgell
<tridge@samba.org>
Mon, 21 Sep 2009 22:26:31 +0000
(15:26 -0700)
source4/dsdb/common/util.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/common/util.c
b/source4/dsdb/common/util.c
index 1fe5979c694860fafe6f4bb42a918cdcaf8f8348..126f9fa8292ba44fbac0710a4b7443fe250e8c62 100644
(file)
--- a/
source4/dsdb/common/util.c
+++ b/
source4/dsdb/common/util.c
@@
-1454,7
+1454,7
@@
bool samdb_is_capable_dc(struct ldb_context *ldb, TALLOC_CTX *mem_ctx,
samdb_base_dn(ldb), "nTMixedDomain", NULL);
if (errmsg != NULL)
- *errmsg = talloc_
asprintf
(mem_ctx, "");
+ *errmsg = talloc_
strdup
(mem_ctx, "");
if (level_forest == -1 || level_domain == -1 || level_domain_mixed == -1) {
ret = false;