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
8db70f36
Commit
8db70f36
authored
Apr 26, 2000
by
Andreas Gustafsson
Browse files
isc_buffer_putstr() will soon return void
parent
6b526894
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/dns/validator.c
View file @
8db70f36
...
...
@@ -1211,8 +1211,7 @@ validator_logv(dns_validator_t *val, isc_logcategory_t *category,
!=
ISC_R_SUCCESS
)
{
isc_buffer_clear
(
&
b
);
RUNTIME_CHECK
(
isc_buffer_putstr
(
&
b
,
"<bad type>"
)
==
ISC_R_SUCCESS
);
isc_buffer_putstr
(
&
b
,
"<bad type>"
);
}
isc_buffer_used
(
&
b
,
&
r
);
isc_log_write
(
dns_lctx
,
category
,
module
,
level
,
...
...
lib/dns/zone.c
View file @
8db70f36
...
...
@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: zone.c,v 1.10
0
2000/04/2
4 23:30:46 tale
Exp $ */
/* $Id: zone.c,v 1.10
1
2000/04/2
6 18:24:15 gson
Exp $ */
#include
<config.h>
...
...
@@ -3247,8 +3247,8 @@ zone_log(dns_zone_t *zone, const char *me, int level,
isc_buffer_init
(
&
buffer
,
namebuf
,
sizeof
namebuf
,
ISC_BUFFERTYPE_TEXT
);
result
=
dns_name_totext
(
&
zone
->
origin
,
ISC_FALSE
,
&
buffer
);
if
(
result
!=
ISC_R_SUCCESS
)
(
void
)
isc_buffer_putstr
(
&
buffer
,
"<UNKNOWN>"
);
(
void
)
isc_buffer_putstr
(
&
buffer
,
"/"
);
isc_buffer_putstr
(
&
buffer
,
"<UNKNOWN>"
);
isc_buffer_putstr
(
&
buffer
,
"/"
);
(
void
)
dns_rdataclass_totext
(
zone
->
rdclass
,
&
buffer
);
len
=
buffer
.
used
;
/* XXX */
...
...
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