summaryrefslogtreecommitdiffstats
path: root/source/scripting
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-08-28 02:38:00 +0000
committerAndrew Tridgell <tridge@samba.org>2005-08-28 02:38:00 +0000
commit1467b04787bf9a85caac99d462e670ef8380c59e (patch)
treec3b0585a331fba4ad22463ed1d931ec6c24d5d4d /source/scripting
parent7f5663251ee5a330fce8f98c1cd28ad354e1bf04 (diff)
downloadsamba-1467b04787bf9a85caac99d462e670ef8380c59e.tar.gz
samba-1467b04787bf9a85caac99d462e670ef8380c59e.tar.xz
samba-1467b04787bf9a85caac99d462e670ef8380c59e.zip
r9706: r11042@blu: tridge | 2005-08-28 12:40:09 +1000
a NULL expression is valid in a ldb search
Diffstat (limited to 'source/scripting')
-rw-r--r--source/scripting/ejs/smbcalls_ldb.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/scripting/ejs/smbcalls_ldb.c b/source/scripting/ejs/smbcalls_ldb.c
index 899cba54602..aaed14dd8cd 100644
--- a/source/scripting/ejs/smbcalls_ldb.c
+++ b/source/scripting/ejs/smbcalls_ldb.c
@@ -75,10 +75,6 @@ static int ejs_ldbSearch(MprVarHandle eid, int argc, struct MprVar **argv)
}
expression = mprToString(argv[0]);
- if (expression == NULL) {
- ejsSetErrorMsg(eid, "ldb.search invalid expression");
- goto failed;
- }
if (argc > 1) {
base = mprToString(argv[1]);
/* a null basedn is valid */