Skip to content
GitLab
Projects
Groups
Snippets
/
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
92450223
Commit
92450223
authored
Oct 14, 1999
by
Mark Andrews
Browse files
missing variable, result could be used before being set.
parent
fd5fff73
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/named/update.c
View file @
92450223
...
...
@@ -1654,6 +1654,8 @@ send_update_event(ns_client_t *client, dns_zone_t *zone) {
event
->
result
=
DNS_R_SUCCESS
;
isc_task_send
(
dns_zone_gettask
(
zone
),
(
isc_event_t
**
)
&
event
);
result
=
DNS_R_SUCCESS
;
failure:
if
(
event
!=
NULL
)
isc_event_free
((
isc_event_t
**
)
&
event
);
...
...
@@ -1772,6 +1774,7 @@ update_action(isc_task_t *task, isc_event_t *event)
dns_message_t
*
request
=
client
->
message
;
dns_rdataclass_t
zoneclass
;
dns_name_t
*
zonename
;
dns_result_t
render_result
;
INSIST
(
event
->
type
==
DNS_EVENT_UPDATE
);
INSIST
(
task
==
dns_zone_gettask
(
zone
));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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