summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-05-29 00:09:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:17:10 -0500
commit0befec0920f3e5ffadcdbc9e22943a679c036b53 (patch)
tree9f994f78004185bc938d4c5ae0b14e340f64e2b2 /source4
parent1deb402445c07dae69c4637a1a4b191f10b0bee1 (diff)
downloadsamba-0befec0920f3e5ffadcdbc9e22943a679c036b53.tar.gz
samba-0befec0920f3e5ffadcdbc9e22943a679c036b53.tar.bz2
samba-0befec0920f3e5ffadcdbc9e22943a679c036b53.zip
r7060: Fix use of uninitialised variable.
(This used to be commit 7568fcbfc58c91a81a8fcbadea48ffdc9e58bb27)
Diffstat (limited to 'source4')
-rw-r--r--source4/web_server/ejs/ejs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/web_server/ejs/ejs.c b/source4/web_server/ejs/ejs.c
index 11da79a0dd..49bb9a6649 100644
--- a/source4/web_server/ejs/ejs.c
+++ b/source4/web_server/ejs/ejs.c
@@ -845,7 +845,7 @@ int ejsGetVarCore(Ejs *ep, const char *varName_c, MprVar **obj, MprVar **varValu
if (varValue) {
*varValue = 0;
}
- currentObj = ejsFindObj(ep, 0, varName, flags);
+ currentObj = ejsFindObj(ep, 0, varName_c, flags);
currentVar = 0;
propertyName = 0;