X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/3d89679aa094ea209fe2a9579199c7762222917b..09aee00b1873954d4a767e0590f32b9774253d9f:/client/adnsresfilter.c diff --git a/client/adnsresfilter.c b/client/adnsresfilter.c index f265773..bba1b1c 100644 --- a/client/adnsresfilter.c +++ b/client/adnsresfilter.c @@ -4,10 +4,10 @@ */ /* * This file is - * Copyright (C) 1999 Ian Jackson + * Copyright (C) 1999-2000 Ian Jackson * * It is part of adns, which is - * Copyright (C) 1997-1999 Ian Jackson + * Copyright (C) 1997-2000 Ian Jackson * Copyright (C) 1999 Tony Finch * * This program is free software; you can redistribute it and/or modify @@ -33,10 +33,12 @@ #include #include -#include +#include +#include +#include -#include "adns.h" #include "config.h" +#include "adns.h" #include "dlist.h" #include "tvarith.h" @@ -50,7 +52,7 @@ struct outqueuenode { }; static int bracket, forever, address; -static unsigned long timeout=100; +static unsigned long timeout= 1000; static adns_rrtype rrt= adns_r_ptr; static int outblocked, inputeof; @@ -369,7 +371,6 @@ static void readstdin(void) { if (!bracket && !isalnum(c)) startaddr(); } } - if (cbyte==3 && inbyte>0 && !bracket) procaddr(); } static void startup(void) {