From 37059d70d9ef905bbcea715e93f5057caf0759d1 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 28 Aug 2005 01:37:27 +0000 Subject: r9700: Change DATA_BLOB in ejs back to struct datablob Support writing idmap mappings to winbind.ldif (This used to be commit 3709def35303f1afed0f344628fe2c89250ee087) --- source4/scripting/ejs/mprutil.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/scripting/ejs/mprutil.c') 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); } /* -- cgit