summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2019-12-13 14:38:25 +0000
committerotto <otto@openbsd.org>2019-12-13 14:38:25 +0000
commit7e27e97fc9dc6010e99b49fc055b94c561695dcf (patch)
tree40c89e8b8578b353c727a5f21b3c1be68b0e8131
parentAvoid leaks by using the _buf versions of sldns_wire2str_* functions. (diff)
downloadwireguard-openbsd-7e27e97fc9dc6010e99b49fc055b94c561695dcf.tar.xz
wireguard-openbsd-7e27e97fc9dc6010e99b49fc055b94c561695dcf.zip
Revert two files committed by accident
-rw-r--r--sbin/unwind/Makefile4
-rw-r--r--sbin/unwind/libunbound/util/alloc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sbin/unwind/Makefile b/sbin/unwind/Makefile
index 87252ffce30..bd2bd7d9890 100644
--- a/sbin/unwind/Makefile
+++ b/sbin/unwind/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2019/12/13 14:37:03 otto Exp $
+# $OpenBSD: Makefile,v 1.7 2019/12/13 14:38:25 otto Exp $
PROG= unwind
SRCS= control.c resolver.c frontend.c log.c unwind.c parse.y printconf.c
@@ -6,7 +6,7 @@ MAN= unwind.8 unwind.conf.5
.include "${.CURDIR}/libunbound/Makefile.inc"
-DEBUG= -g -DDEBUG=3 -O0
+#DEBUG= -g -DDEBUG=3 -O0
CFLAGS+= -Wall -I${.CURDIR} -I ${.CURDIR}/libunbound/libunbound
CFLAGS+= -I ${.CURDIR}/libunbound
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
diff --git a/sbin/unwind/libunbound/util/alloc.c b/sbin/unwind/libunbound/util/alloc.c
index e9613b10dcd..7e9618931ca 100644
--- a/sbin/unwind/libunbound/util/alloc.c
+++ b/sbin/unwind/libunbound/util/alloc.c
@@ -113,7 +113,7 @@ alloc_init(struct alloc_cache* alloc, struct alloc_cache* super,
alloc->last_id -= 1; /* for compiler portability. */
alloc->last_id |= alloc->next_id;
alloc->next_id += 1; /* because id=0 is special. */
- alloc->max_reg_blocks = 10;
+ alloc->max_reg_blocks = 100;
alloc->num_reg_blocks = 0;
alloc->reg_list = NULL;
alloc->cleanup = NULL;