chiark
/
gitweb
/
~ianmdlvl
/
adns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
+ * Fix <sys/fcntl.h> in client/adnsresfilter.c to <fcntl.h>.
[adns.git]
/
client
/
adnsresfilter.c
diff --git
a/client/adnsresfilter.c
b/client/adnsresfilter.c
index f2657734cb833dbf2a314d136fe63e4347e61870..316b0e21534be0630dd7000225d20d122e137d76 100644
(file)
--- a/
client/adnsresfilter.c
+++ b/
client/adnsresfilter.c
@@
-7,7
+7,7
@@
* Copyright (C) 1999 Ian Jackson <ian@davenant.greenend.org.uk>
*
* It is part of adns, which is
* Copyright (C) 1999 Ian Jackson <ian@davenant.greenend.org.uk>
*
* It is part of adns, which is
- * Copyright (C) 1997-
1999
Ian Jackson <ian@davenant.greenend.org.uk>
+ * Copyright (C) 1997-
2000
Ian Jackson <ian@davenant.greenend.org.uk>
* Copyright (C) 1999 Tony Finch <dot@dotat.at>
*
* This program is free software; you can redistribute it and/or modify
* Copyright (C) 1999 Tony Finch <dot@dotat.at>
*
* This program is free software; you can redistribute it and/or modify
@@
-33,7
+33,7
@@
#include <assert.h>
#include <ctype.h>
#include <assert.h>
#include <ctype.h>
-#include <
sys/
fcntl.h>
+#include <fcntl.h>
#include "adns.h"
#include "config.h"
#include "adns.h"
#include "config.h"
@@
-50,7
+50,7
@@
struct outqueuenode {
};
static int bracket, forever, address;
};
static int bracket, forever, address;
-static unsigned long timeout=
1
00;
+static unsigned long timeout=
10
00;
static adns_rrtype rrt= adns_r_ptr;
static int outblocked, inputeof;
static adns_rrtype rrt= adns_r_ptr;
static int outblocked, inputeof;
@@
-369,7
+369,6
@@
static void readstdin(void) {
if (!bracket && !isalnum(c)) startaddr();
}
}
if (!bracket && !isalnum(c)) startaddr();
}
}
- if (cbyte==3 && inbyte>0 && !bracket) procaddr();
}
static void startup(void) {
}
static void startup(void) {