From 9107add51a07780851a1ad265273166af17c7c74 Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 15 Oct 2015 20:47:11 +0000 Subject: [PATCH] trivial KNF --- usr.sbin/rebound/rebound.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/usr.sbin/rebound/rebound.c b/usr.sbin/rebound/rebound.c index 3446413c4e1..202f0ba229c 100644 --- a/usr.sbin/rebound/rebound.c +++ b/usr.sbin/rebound/rebound.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rebound.c,v 1.3 2015/10/15 20:13:57 tedu Exp $ */ +/* $OpenBSD: rebound.c,v 1.4 2015/10/15 20:47:11 deraadt Exp $ */ /* * Copyright (c) 2015 Ted Unangst * @@ -212,7 +212,8 @@ sendreply(int ud, struct request *req) } void -freerequest(struct request *req) { +freerequest(struct request *req) +{ TAILQ_REMOVE(&reqfifo, req, fifo); close(req->client); close(req->s); @@ -220,7 +221,8 @@ freerequest(struct request *req) { } void -freecacheent(struct dnscache *ent) { +freecacheent(struct dnscache *ent) +{ TAILQ_REMOVE(&cache, ent, cache); free(ent->req); free(ent->resp); -- 2.20.1