summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2005-07-15 13:19:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:23:10 -0500
commit7d4004a129c1daf0d9010ff61c45a57d8b19dd2d (patch)
treeda9fc1898321057843bc0120ffc91003cda2f4a2 /source4/scripting
parent2cbc9b2ebdd05cfff4e7fbaef8ab0c7b88b4e63a (diff)
downloadsamba-7d4004a129c1daf0d9010ff61c45a57d8b19dd2d.tar.gz
samba-7d4004a129c1daf0d9010ff61c45a57d8b19dd2d.tar.bz2
samba-7d4004a129c1daf0d9010ff61c45a57d8b19dd2d.zip
r8499: clearer function name
(This used to be commit 5a6c2170ff83c29ed1d7f0f5329f2d9aa00c223a)
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/ejs/smbcalls_ldb.c10
1 files changed, 5 insertions, 5 deletions
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;
}