mirror of
https://github.com/samba-team/samba.git
synced 2025-10-31 12:23:52 +03:00
r15731: module init functions should return NTSTATUS, not void
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
2ab8343e99
commit
c6d20c2245
@@ -187,8 +187,9 @@ static int ejs_system_session(MprVarHandle eid, int argc, struct MprVar **argv)
|
||||
/*
|
||||
setup C functions that be called from ejs
|
||||
*/
|
||||
void smb_setup_ejs_auth(void)
|
||||
NTSTATUS smb_setup_ejs_auth(void)
|
||||
{
|
||||
ejsDefineCFunction(-1, "userAuth", ejs_userAuth, NULL, MPR_VAR_SCRIPT_HANDLE);
|
||||
ejsDefineCFunction(-1, "system_session", ejs_system_session, NULL, MPR_VAR_SCRIPT_HANDLE);
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user