[SCM] Samba Shared Repository - branch master updated
Matthias Dieter Wallnöfer
mdw at samba.org
Fri Oct 15 03:12:02 MDT 2010
The branch, master has been updated
via 10e1de3 s4:samdb_msg_add_int* - use "ldb_msg_add_string" rather than "samdb_msg_add_string"
from 666e0c3 s4 param: change messaging directory name from messaging to msg
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 10e1de3e06cf6b8a524f50685d6a675a2d49c9a9
Author: Matthias Dieter Wallnöfer <mdw at samba.org>
Date: Fri Oct 15 10:27:51 2010 +0200
s4:samdb_msg_add_int* - use "ldb_msg_add_string" rather than "samdb_msg_add_string"
"ldb_msg_add_string" is safe here since the integer has already been converted
to a string which is "talloc"ed on "mem_ctx".
Autobuild-User: Matthias Dieter Wallnöfer <mdw at samba.org>
Autobuild-Date: Fri Oct 15 09:11:49 UTC 2010 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
source4/dsdb/common/util.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index d0fc3b1..1d28771 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -929,7 +929,7 @@ int samdb_msg_add_int(struct ldb_context *sam_ldb, TALLOC_CTX *mem_ctx, struct l
if (s == NULL) {
return ldb_oom(sam_ldb);
}
- return samdb_msg_add_string(sam_ldb, mem_ctx, msg, attr_name, s);
+ return ldb_msg_add_string(msg, attr_name, s);
}
/*
@@ -951,7 +951,7 @@ int samdb_msg_add_int64(struct ldb_context *sam_ldb, TALLOC_CTX *mem_ctx, struct
if (s == NULL) {
return ldb_oom(sam_ldb);
}
- return samdb_msg_add_string(sam_ldb, mem_ctx, msg, attr_name, s);
+ return ldb_msg_add_string(msg, attr_name, s);
}
/*
--
Samba Shared Repository
More information about the samba-cvs
mailing list