Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
887a0638
Commit
887a0638
authored
Aug 02, 2000
by
David Lawrence
Browse files
sevent and query were not used by send_done()
parent
281b7ba8
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/dig/dighost.c
View file @
887a0638
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: dighost.c,v 1.10
7
2000/08/02 1
4:38:51 mws
Exp $ */
/* $Id: dighost.c,v 1.10
8
2000/08/02 1
9:49:57 tale
Exp $ */
/*
* Notice to programmers: Do not use this code as an example of how to
...
...
@@ -1343,23 +1343,18 @@ setup_lookup(dig_lookup_t *lookup) {
* the query if the send was canceled.
*/
static
void
send_done
(
isc_task_t
*
task
,
isc_event_t
*
event
)
{
isc_socketevent_t
*
sevent
=
NULL
;
dig_query_t
*
query
;
send_done
(
isc_task_t
*
_task
,
isc_event_t
*
event
)
{
REQUIRE
(
event
->
ev_type
==
ISC_SOCKEVENT_SENDDONE
);
UNUSED
(
task
);
UNUSED
(
_
task
);
LOCK_LOOKUP
;
sevent
=
(
isc_socketevent_t
*
)
event
;
query
=
event
->
ev_arg
;
isc_event_free
(
&
event
);
debug
(
"send_done()"
);
sendcount
--
;
debug
(
"sendcount=%d"
,
sendcount
);
debug
(
"sendcount=%d"
,
_
sendcount
);
INSIST
(
sendcount
>=
0
);
UNLOCK_LOOKUP
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment