From 7d4004a129c1daf0d9010ff61c45a57d8b19dd2d Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 15 Jul 2005 13:19:16 +0000 Subject: r8499: clearer function name (This used to be commit 5a6c2170ff83c29ed1d7f0f5329f2d9aa00c223a) --- source4/scripting/ejs/smbcalls_ldb.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/scripting/ejs') diff --git a/source4/scripting/ejs/smbcalls_ldb.c b/source4/scripting/ejs/smbcalls_ldb.c index cdf3b3dd6c..c8c6366f2d 100644 --- a/source4/scripting/ejs/smbcalls_ldb.c +++ b/source4/scripting/ejs/smbcalls_ldb.c @@ -28,7 +28,7 @@ /* get the connected db */ -static struct ldb_context *ejs_ldb_db(int eid) +static struct ldb_context *ejs_get_ldb_context(int eid) { struct ldb_context *ldb = mprGetThisPtr(eid, "db"); if (ldb == NULL) { @@ -64,7 +64,7 @@ static int ejs_ldbSearch(MprVarHandle eid, int argc, struct MprVar **argv) goto failed; } - ldb = ejs_ldb_db(eid); + ldb = ejs_get_ldb_context(eid); if (ldb == NULL) { return -1; } @@ -117,7 +117,7 @@ static int ejs_ldbAddModify(MprVarHandle eid, int argc, struct MprVar **argv, return -1; } - ldb = ejs_ldb_db(eid); + ldb = ejs_get_ldb_context(eid); if (ldb == NULL) { return -1; } @@ -151,7 +151,7 @@ static int ejs_ldbDelete(MprVarHandle eid, int argc, struct MprVar **argv) dn = mprToString(argv[0]); - ldb = ejs_ldb_db(eid); + ldb = ejs_get_ldb_context(eid); if (ldb == NULL) { return -1; } @@ -184,7 +184,7 @@ static int ejs_ldbRename(MprVarHandle eid, int argc, struct MprVar **argv) return -1; } - ldb = ejs_ldb_db(eid); + ldb = ejs_get_ldb_context(eid); if (ldb == NULL) { return -1; } -- cgit