1
0
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:
Jelmer Vernooij
2007-12-19 23:27:42 +01:00
committed by Stefan Metzmacher
parent 5f921af41e
commit e53e79eebe
37 changed files with 103 additions and 103 deletions

View File

@@ -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;