From: Wouter Wijngaards Date: Wed, 7 May 2008 07:53:57 +0000 (+0000) Subject: fixup no-ip4 error callback. X-Git-Tag: release-1.0.0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d472c8cf89b994d5499a0f427fec77a59ae1626;p=thirdparty%2Funbound.git fixup no-ip4 error callback. git-svn-id: file:///svn/unbound/trunk@1077 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index 13bf211a4..657f13c69 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,3 +1,6 @@ +7 May 2008: Wouter + - fixup no-ip4 problem with error callback in outside network. + 25 April 2008: Wouter - DESTDIR is honored by the Makefile for rpms. - contrib files unbound.spec and unbound.init, builds working RPM diff --git a/services/outside_network.c b/services/outside_network.c index 3ab3cb158..c7c4b1f02 100644 --- a/services/outside_network.c +++ b/services/outside_network.c @@ -273,7 +273,7 @@ outnet_send_wait_udp(struct outside_network* outnet) pend->timeout)) { /* callback error on pending */ fptr_ok(fptr_whitelist_pending_udp(pend->cb)); - (void)(*pend->cb)(pend->pc->cp, pend->cb_arg, + (void)(*pend->cb)(outnet->unused_fds->cp, pend->cb_arg, NETEVENT_CLOSED, NULL); pending_delete(outnet, pend); }