summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/lib/libevent/eventtest.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/regress/lib/libevent/eventtest.c b/regress/lib/libevent/eventtest.c
index a6a3b7c8aef..862c2734e7d 100644
--- a/regress/lib/libevent/eventtest.c
+++ b/regress/lib/libevent/eventtest.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eventtest.c,v 1.9 2006/01/23 20:19:34 brad Exp $ */
+/* $OpenBSD: eventtest.c,v 1.10 2007/09/19 02:06:45 todd Exp $ */
/* $NetBSD: eventtest.c,v 1.3 2004/08/07 21:09:47 provos Exp $ */
/*
@@ -461,9 +461,10 @@ test_loopexit(void)
void
test_evbuffer(void) {
+ struct evbuffer *evb;
setup_test("Evbuffer: ");
- struct evbuffer *evb = evbuffer_new();
+ evb = evbuffer_new();
evbuffer_add_printf(evb, "%s/%d", "hello", 1);