r7060: Fix use of uninitialised variable.
authorTim Potter <tpot@samba.org>
Sun, 29 May 2005 00:09:20 +0000 (00:09 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:17:10 +0000 (13:17 -0500)
source/web_server/ejs/ejs.c

index 11da79a0ddcab3bb48cfd440aa5371c3e3d8b307..49bb9a6649b2df479272984c69587da0b9bde6c3 100644 (file)
@@ -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;