summary refs log tree commit diff
path: root/bounce.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bounce.c4
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);