From: Christian Grothoff Date: Wed, 25 Jan 2012 10:16:55 +0000 (+0000) Subject: -fix X-Git-Tag: initial-import-from-subversion-38251~15127 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a8b752e95c99d599428e04c9a0f807b32a66f8d7;p=oweals%2Fgnunet.git -fix --- 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