r13018: Fix (correct) warning about mixing C/js interface function types. I
authorAndrew Bartlett <abartlet@samba.org>
Wed, 18 Jan 2006 21:41:24 +0000 (21:41 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:51:17 +0000 (13:51 -0500)
don't use the arguments, but you must connect as the right type
anyway.

Andrew Bartlett

source/scripting/ejs/smbcalls_creds.c

index 4b0312bf8376e0c8e5c77ea76646d56aef9d3f64..a1b9446e9e693886aaa88653b41cc7497839bed8 100644 (file)
@@ -184,7 +184,7 @@ static int ejs_creds_get_workstation(MprVarHandle eid, int argc, struct MprVar *
 /*
   set machine account 
 */
-static int ejs_creds_set_machine_account(MprVarHandle eid, int argc, char **argv)
+static int ejs_creds_set_machine_account(MprVarHandle eid, int argc, struct MprVar **argv)
 {
        struct cli_credentials *creds = ejs_creds_get_credentials(eid);
        if (argc != 0) {