summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-08-28 01:37:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:34:49 -0500
commit37059d70d9ef905bbcea715e93f5057caf0759d1 (patch)
tree7d92d4ea6740fa93dd82b6b0b99eb75aa26aeaa6 /source4/scripting/ejs
parentdf384bfa25db741770627cb7b9cae0df5564d14f (diff)
downloadsamba-37059d70d9ef905bbcea715e93f5057caf0759d1.tar.gz
samba-37059d70d9ef905bbcea715e93f5057caf0759d1.tar.bz2
samba-37059d70d9ef905bbcea715e93f5057caf0759d1.zip
r9700: Change DATA_BLOB in ejs back to struct datablob
Support writing idmap mappings to winbind.ldif (This used to be commit 3709def35303f1afed0f344628fe2c89250ee087)
Diffstat (limited to 'source4/scripting/ejs')
-rw-r--r--source4/scripting/ejs/mprutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/scripting/ejs/mprutil.c b/source4/scripting/ejs/mprutil.c
index 0e23738b30..9634c9bf42 100644
--- a/source4/scripting/ejs/mprutil.c
+++ b/source4/scripting/ejs/mprutil.c
@@ -323,7 +323,7 @@ struct MprVar mprNTSTATUS(NTSTATUS status)
struct MprVar mprDataBlob(DATA_BLOB blob)
{
struct MprVar res;
- DATA_BLOB *pblob = talloc(mprMemCtx(), DATA_BLOB);
+ struct datablob *pblob = talloc(mprMemCtx(), struct datablob);
*pblob = data_blob_talloc(pblob, blob.data, blob.length);
res = mprObject("DATA_BLOB");
@@ -337,9 +337,9 @@ struct MprVar mprDataBlob(DATA_BLOB blob)
/*
return a data blob from a mpr var created using mprDataBlob
*/
-struct data_blob *mprToDataBlob(struct MprVar *v)
+struct datablob *mprToDataBlob(struct MprVar *v)
{
- return talloc_get_type(mprGetPtr(v, "blob"), struct data_blob);
+ return talloc_get_type(mprGetPtr(v, "blob"), struct datablob);
}
/*