mirror of
https://github.com/samba-team/samba.git
synced 2025-12-14 20:23:54 +03:00
r23011: initialisation functions must return NTSTATUS, otherwise we get bus
errors on platforms like sparc. This is why sun1 died during
provision.
(This used to be commit ad6a672ec3)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
d3f30cab1e
commit
fdc0809b41
@@ -222,7 +222,8 @@ static int ejs_net_samsync_ldb(MprVarHandle eid, int argc, struct MprVar **argv)
|
||||
}
|
||||
|
||||
|
||||
void smb_setup_ejs_net(void)
|
||||
NTSTATUS smb_setup_ejs_net(void)
|
||||
{
|
||||
ejsDefineCFunction(-1, "NetContext", ejs_net_context, NULL, MPR_VAR_SCRIPT_HANDLE);
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user