mirror of
https://github.com/samba-team/samba.git
synced 2025-11-18 00:23:50 +03:00
r26539: Remove unnecessary statics.
This commit is contained in:
committed by
Stefan Metzmacher
parent
5f921af41e
commit
e53e79eebe
@@ -197,7 +197,7 @@ static int ejs_net_deleteuser(MprVarHandle eid, int argc, char **argv)
|
||||
}
|
||||
|
||||
/* domain where the account is to be deleted */
|
||||
userman_domain = (struct libnet_context *)mprGetThisPtr(eid, "domain");
|
||||
userman_domain = (const char*)mprGetThisPtr(eid, "domain");
|
||||
if (!userman_domain) {
|
||||
ejsSetErrorMsg(eid, "domain property returns null pointer");
|
||||
goto done;
|
||||
@@ -260,7 +260,7 @@ static int ejs_net_userinfo(MprVarHandle eid, int argc, char **argv)
|
||||
}
|
||||
|
||||
/* domain where the user account is to be queried */
|
||||
userman_domain = (struct libnet_context *)mprGetThisPtr(eid, "domain");
|
||||
userman_domain = (const char *)mprGetThisPtr(eid, "domain");
|
||||
if (userman_domain == NULL) {
|
||||
ejsSetErrorMsg(eid, "domain property returns null pointer");
|
||||
return -1;
|
||||
|
||||
Reference in New Issue
Block a user