summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dnsfunnel/dnsfunneld.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dnsfunnel/dnsfunneld.c b/src/dnsfunnel/dnsfunneld.c
index 12e9866..d65cb7c 100644
--- a/src/dnsfunnel/dnsfunneld.c
+++ b/src/dnsfunnel/dnsfunneld.c
@@ -159,7 +159,7 @@ int main (int argc, char const *const *argv)
PROG = "dnsfunneld" ;
{
- unsigned int bufsize = 131072 ;
+ unsigned int bufsize = 0 ;
int flagU = 0 ;
uid_t uid = -1 ;
gid_t gid = -1 ;
@@ -366,7 +366,7 @@ int main (int argc, char const *const *argv)
i = k ;
}
- if (x[0].revents & IOPAUSE_READ)
+ if (x[1].revents & IOPAUSE_READ)
{
uint32_t n = DNSFUNNELD_INPUT_MAX ;
while (n--)