projects
/
packages.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
djbdns: fix compile errors because of wrong ranlib use, also apply Johnny Halfmoon...
[packages.git]
/
net
/
djbdns
/
patches
/
070-dnscache-dpos-tcp-servfail.patch
1
--- a/dns_transmit.c
2
+++ b/dns_transmit.c
3
@@ -166,6 +166,7 @@ static int thistcp(struct dns_transmit *
4
taia_uint(&d->deadline,10);
5
taia_add(&d->deadline,&d->deadline,&now);
6
if (socket_connect4(d->s1 - 1,ip,53) == 0) {
7
+ d->pos = 0;
8
d->tcpstate = 2;
9
return 0;
10
}