diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-10-19 06:09:14 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:44:54 -0500 |
commit | e627a90362ca4fd4d00b1aa78b9743a047ba0498 (patch) | |
tree | e7ea2a8cf247049d8a2710d8d3d1ae3dd4f3264f /source4 | |
parent | 64b0c02e8b374e1fef5e580e622b976879a63b9a (diff) | |
download | samba-e627a90362ca4fd4d00b1aa78b9743a047ba0498.tar.gz samba-e627a90362ca4fd4d00b1aa78b9743a047ba0498.tar.bz2 samba-e627a90362ca4fd4d00b1aa78b9743a047ba0498.zip |
r11171: fix the build
metze
(This used to be commit 0d948cf430f34757a17170cdd26ac6b87341a75f)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/scripting/ejs/smbcalls_sys.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbcalls_sys.c b/source4/scripting/ejs/smbcalls_sys.c index c4ad668112..f39d5cbddc 100644 --- a/source4/scripting/ejs/smbcalls_sys.c +++ b/source4/scripting/ejs/smbcalls_sys.c @@ -72,12 +72,13 @@ static int ejs_sys_nttime(MprVarHandle eid, int argc, struct MprVar **argv) static int ejs_sys_unix2nttime(MprVarHandle eid, int argc, struct MprVar **argv) { NTTIME nt; + struct MprVar v; if (argc != 1 || !mprVarIsNumber(argv[0]->type)) { ejsSetErrorMsg(eid, "sys_unix2nttime invalid arguments"); return -1; } unix_to_nt_time(&nt, mprVarToNumber(argv[0])); - struct MprVar v = mprCreateNumberVar(nt); + v = mprCreateNumberVar(nt); mpr_Return(eid, v); return 0; } |