diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-01-25 10:16:55 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-01-25 10:16:55 +0000 |
commit | a8b752e95c99d599428e04c9a0f807b32a66f8d7 (patch) | |
tree | aece536a5c4e44e47bdc247559513306a1a01817 /src/dns | |
parent | e51495342b6f41fcbef805bb4d8ddebc6db101eb (diff) | |
download | gnunet-a8b752e95c99d599428e04c9a0f807b32a66f8d7.tar.gz gnunet-a8b752e95c99d599428e04c9a0f807b32a66f8d7.zip |
-fix
Diffstat (limited to 'src/dns')
-rw-r--r-- | src/dns/gnunet-helper-dns.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
468 | unsigned char bufin[MAX_SIZE]; | 468 | unsigned char bufin[MAX_SIZE]; |
469 | ssize_t bufin_size = 0; | 469 | ssize_t bufin_size = 0; |
470 | size_t bufin_rpos = 0; | 470 | size_t bufin_rpos = 0; |
471 | unsigned char *bufin_read = NULL; | 471 | unsigned char *bufin_read; |
472 | fd_set fds_w; | 472 | fd_set fds_w; |
473 | fd_set fds_r; | 473 | fd_set fds_r; |
474 | int max; | 474 | int max; |
@@ -477,6 +477,7 @@ run (int fd_tun) | |||
477 | { | 477 | { |
478 | FD_ZERO (&fds_w); | 478 | FD_ZERO (&fds_w); |
479 | FD_ZERO (&fds_r); | 479 | FD_ZERO (&fds_r); |
480 | bufin_read = NULL; | ||
480 | 481 | ||
481 | /* | 482 | /* |
482 | * We are supposed to read and the buffer is empty | 483 | * We are supposed to read and the buffer is empty |