mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-03-02 23:18:44 +00:00
Bump redbean up to 2.0.10
This commit is contained in:
parent
4a1419fefa
commit
28f0104330
1 changed files with 3 additions and 2 deletions
|
@ -146,7 +146,7 @@ STATIC_YOINK("ShowCrashReportsEarly");
|
|||
#define REDBEAN "redbean"
|
||||
#endif
|
||||
|
||||
#define VERSION 0x020009
|
||||
#define VERSION 0x02000a
|
||||
#define HEARTBEAT 5000 /*ms*/
|
||||
#define HASH_LOAD_FACTOR /* 1. / */ 4
|
||||
#define MONITOR_MICROS 150000
|
||||
|
@ -6960,7 +6960,8 @@ static void Listen(void) {
|
|||
}
|
||||
}
|
||||
// shrink allocated memory in case some of the sockets were skipped
|
||||
if (n < ips.n * ports.n) servers.p = realloc(servers.p, n*sizeof(*servers.p));
|
||||
if (n < ips.n * ports.n)
|
||||
servers.p = realloc(servers.p, n * sizeof(*servers.p));
|
||||
servers.n = n;
|
||||
polls = malloc((1 + n) * sizeof(*polls));
|
||||
polls[0].fd = -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue