From eeac134e697f77d85ecbb8d6bd572a4b592433aa Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Tue, 29 Oct 2019 23:04:58 -0400 Subject: Allocate ring buffer at runtime --- bounce.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bounce.c') 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); -- cgit 1.4.1