ldns and libevent are linked statically. Default is off.
- make install and make uninstall. Works with static-exe and without.
installation of unbound binary and manual pages.
+ - alignement problem fix on solaris 64.
+ - fixup address in case of TCP error.
12 June 2007: Wouter
- num target queries was set to 0 at a bad time. Default it to 0 and
struct comm_reply* rep)
{
struct serviced_query* sq = (struct serviced_query*)arg;
+ struct comm_reply r2;
sq->pending = NULL; /* removed after this callback */
if(error==NETEVENT_NOERROR && LDNS_RCODE_WIRE(ldns_buffer_begin(
c->buffer)) == LDNS_RCODE_FORMERR &&
return 0;
}
/* insert address into reply info */
+ if(!rep) {
+ /* create one if there isn't (on errors) */
+ rep = &r2;
+ r2.c = c;
+ }
memcpy(&rep->addr, &sq->addr, sq->addrlen);
rep->addrlen = sq->addrlen;
(void)rbtree_delete(sq->outnet->serviced, sq);