mirror of
https://github.com/janet-lang/janet
synced 2025-11-08 19:43:41 +00:00
Disable PRF by default.
Since it is not any better by default without initializing the key, we disable it by default. It can be turned on with JANET_PRF in janetconf.h.
This commit is contained in:
@@ -566,7 +566,8 @@ static Janet cfun_net_server(int32_t argc, Janet *argv) {
|
||||
}
|
||||
|
||||
/* Put sfd on our loop */
|
||||
JanetLoopFD lfd = {0};
|
||||
JanetLoopFD lfd;
|
||||
memset(&lfd, 0, sizeof(lfd));
|
||||
lfd.stream = make_stream(sfd, 0);
|
||||
lfd.event_type = JLE_READ_ACCEPT;
|
||||
lfd.data.read_accept.handler = fun;
|
||||
|
||||
Reference in New Issue
Block a user