1
0
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:
Andrew Tridgell
2007-05-19 06:49:01 +00:00
committed by Gerald (Jerry) Carter
parent d3f30cab1e
commit fdc0809b41

View File

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