diff options
author | Derrell Lipman <derrell@samba.org> | 2006-10-02 20:39:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:20:31 -0500 |
commit | 882d352151bd05c37e18de8f8f619787f831a311 (patch) | |
tree | 84e7be0d80a80bdc4b54b71bd25ec51f2b806daf /source4/scripting/ejs/smbcalls_sys.c | |
parent | a22d785d7cdfbb662a0755552acfbf995d865d0c (diff) | |
download | samba-882d352151bd05c37e18de8f8f619787f831a311.tar.gz samba-882d352151bd05c37e18de8f8f619787f831a311.tar.bz2 samba-882d352151bd05c37e18de8f8f619787f831a311.zip |
r19051: JSON-RPC server work-in-progress. It's almost working.
(This used to be commit 6e9cb2ed1cf87aed322fd7821237d088c2fef340)
Diffstat (limited to 'source4/scripting/ejs/smbcalls_sys.c')
-rw-r--r-- | source4/scripting/ejs/smbcalls_sys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/smbcalls_sys.c b/source4/scripting/ejs/smbcalls_sys.c index 42990f49c0..97fcc19cd1 100644 --- a/source4/scripting/ejs/smbcalls_sys.c +++ b/source4/scripting/ejs/smbcalls_sys.c @@ -413,7 +413,7 @@ static int ejs_sys_init(MprVarHandle eid, int argc, struct MprVar **argv) mprSetCFunction(obj, "interfaces", ejs_sys_interfaces); mprSetCFunction(obj, "hostname", ejs_sys_hostname); mprSetCFunction(obj, "nttime", ejs_sys_nttime); - mprSetCFunction(obj, "getTimeOfDay", ejs_sys_gettimeofday); + mprSetCFunction(obj, "gettimeofday", ejs_sys_gettimeofday); mprSetCFunction(obj, "unix2nttime", ejs_sys_unix2nttime); mprSetCFunction(obj, "gmmktime", ejs_sys_gmmktime); mprSetCFunction(obj, "gmtime", ejs_sys_gmtime); |