From a8b752e95c99d599428e04c9a0f807b32a66f8d7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 25 Jan 2012 10:16:55 +0000 Subject: [PATCH] -fix --- src/dns/gnunet-helper-dns.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dns/gnunet-helper-dns.c b/src/dns/gnunet-helper-dns.c index 22c6ef359..0f19b4a56 100644 --- a/src/dns/gnunet-helper-dns.c +++ b/src/dns/gnunet-helper-dns.c @@ -468,7 +468,7 @@ run (int fd_tun) unsigned char bufin[MAX_SIZE]; ssize_t bufin_size = 0; size_t bufin_rpos = 0; - unsigned char *bufin_read = NULL; + unsigned char *bufin_read; fd_set fds_w; fd_set fds_r; int max; @@ -477,6 +477,7 @@ run (int fd_tun) { FD_ZERO (&fds_w); FD_ZERO (&fds_r); + bufin_read = NULL; /* * We are supposed to read and the buffer is empty -- 2.25.1