From 6181350b1a274db97767d22a6e0626e011a6d4dd Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Tue, 7 Sep 1999 01:55:54 +0000 Subject: [PATCH] init bufferlist --- bin/tests/sdig.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/tests/sdig.c b/bin/tests/sdig.c index 9a34d9ee95..c07cf2e366 100644 --- a/bin/tests/sdig.c +++ b/bin/tests/sdig.c @@ -357,6 +357,7 @@ main(int argc, char *argv[]) { isc_sockettype_udp, &sock); check_result(result, "isc_socket_create()"); + ISC_LIST_INIT(bufferlist); isc_buffer_init(&b2, data2, sizeof data2, ISC_BUFFERTYPE_BINARY); ISC_LIST_ENQUEUE(bufferlist, &b2, link); result = isc_socket_recvv(sock, &bufferlist, 1, task, recv_done, NULL);