summaryrefslogtreecommitdiff
path: root/source4/scripting/ejs/ejsnet.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-05-22 16:16:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:25 -0500
commitc82c88dccbff92f111d4127e2f58ba79d5f82010 (patch)
tree85cf82bbabe683b08f0ff49690b987ebb397eb3b /source4/scripting/ejs/ejsnet.c
parentd6aaca599b8094b47246dd341dde165f204df090 (diff)
downloadsamba-c82c88dccbff92f111d4127e2f58ba79d5f82010.tar.gz
samba-c82c88dccbff92f111d4127e2f58ba79d5f82010.tar.bz2
samba-c82c88dccbff92f111d4127e2f58ba79d5f82010.zip
r15805: Fix incompatible type assignment. Caught by the IBM checker.
(This used to be commit cef5cc6464001e1a1472e1029254c093942b6642)
Diffstat (limited to 'source4/scripting/ejs/ejsnet.c')
-rw-r--r--source4/scripting/ejs/ejsnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/ejs/ejsnet.c b/source4/scripting/ejs/ejsnet.c
index 952ebeb575..523e0e8a02 100644
--- a/source4/scripting/ejs/ejsnet.c
+++ b/source4/scripting/ejs/ejsnet.c
@@ -111,7 +111,7 @@ static int ejs_net_join_domain(MprVarHandle eid, int argc, struct MprVar **argv)
join->in.netbios_name = NULL;
join->in.join_type = SEC_CHAN_WKSTA;
join->in.domain_name = cli_credentials_get_domain(ctx->cred);
- join->in.level = LIBNET_JOINDOMAIN_AUTOMATIC;
+ join->in.level = LIBNET_JOIN_AUTOMATIC;
join->out.error_string = NULL;
if (argc == 1 && argv[0]->type == MPR_TYPE_OBJECT) {