diff options
author | June McEnroe <june@causal.agency> | 2019-10-29 23:04:58 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-10-29 23:04:58 -0400 |
commit | eeac134e697f77d85ecbb8d6bd572a4b592433aa (patch) | |
tree | 611c18cdc27f146aa96ec3f5c652dd4fc0466ea2 /bounce.c | |
parent | Do not duplicate origin on nick change (diff) | |
download | pounce-eeac134e697f77d85ecbb8d6bd572a4b592433aa.tar.gz pounce-eeac134e697f77d85ecbb8d6bd572a4b592433aa.zip |
Allocate ring buffer at runtime
Diffstat (limited to '')
-rw-r--r-- | bounce.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bounce.c b/bounce.c index 79a75f2..2a7acd4 100644 --- a/bounce.c +++ b/bounce.c @@ -180,11 +180,11 @@ int main(int argc, char *argv[]) { if (!user) user = nick; if (!real) real = nick; + ringAlloc(4096); if (save) saveLoad(save); - listenConfig(certPath, privPath); - int bind[8]; + listenConfig(certPath, privPath); size_t binds = listenBind(bind, 8, bindHost, bindPort); int server = serverConnect(insecure, host, port); |