summaryrefslogtreecommitdiff
path: root/source4/lib/ejs/ejsProcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ejs/ejsProcs.c')
-rw-r--r--source4/lib/ejs/ejsProcs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ejs/ejsProcs.c b/source4/lib/ejs/ejsProcs.c
index b15985c8cf..e9932406ad 100644
--- a/source4/lib/ejs/ejsProcs.c
+++ b/source4/lib/ejs/ejsProcs.c
@@ -310,6 +310,7 @@ static int valueOfProc(EjsHandle eid, int argc, MprVar **argv)
case MPR_TYPE_OBJECT:
case MPR_TYPE_FUNCTION:
case MPR_TYPE_STRING_CFUNCTION:
+ case MPR_TYPE_PTR:
mprCopyVar(&ep->result, obj, MPR_SHALLOW_COPY);
break;