From efe4634a7abe2e18cabf841950e1acdc05b77bb2 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sun, 3 Jan 2016 18:15:18 +0000 Subject: forgot to call RB_INIT. but yet things mostly worked... --- usr.sbin/rebound/rebound.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/rebound/rebound.c b/usr.sbin/rebound/rebound.c index 171116a3e52..a3addaf22c2 100644 --- a/usr.sbin/rebound/rebound.c +++ b/usr.sbin/rebound/rebound.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rebound.c,v 1.59 2015/12/17 18:24:57 tedu Exp $ */ +/* $OpenBSD: rebound.c,v 1.60 2016/01/03 18:15:17 tedu Exp $ */ /* * Copyright (c) 2015 Ted Unangst * @@ -645,6 +645,7 @@ main(int argc, char **argv) TAILQ_INIT(&reqfifo); TAILQ_INIT(&cachefifo); + RB_INIT(&cachetree); memset(&bindaddr, 0, sizeof(bindaddr)); bindaddr.sin_len = sizeof(bindaddr); -- cgit v1.2.3