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
838281ed
Commit
838281ed
authored
Jul 10, 2000
by
David Lawrence
Browse files
318. [func] dns_c_ndcctx_destroy() could never return anything
except ISC_R_SUCCESS; made it have void return instead.
parent
89e57b47
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGES
View file @
838281ed
318. [func] dns_c_ndcctx_destroy() could never return anything
except ISC_R_SUCCESS; made it have void return instead.
317. [func] Use callbacks from libomapi to determine if a
new connection is valid, and if a key requested
to be used with that connection is valid.
...
...
lib/dns/config/confndc.c
View file @
838281ed
...
...
@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: confndc.c,v 1.
19
2000/07/
04 01:29:48
tale Exp $ */
/* $Id: confndc.c,v 1.
20
2000/07/
10 11:27:11
tale Exp $ */
/*
** options {
...
...
@@ -53,7 +53,9 @@
#include
<dns/confndc.h>
#include
<dns/log.h>
/* Type keys for symtab lookup */
/*
* Type keys for symtab lookup.
*/
#define KEYWORD_SYM_TYPE 0x1
#define CLASS_SYM_TYPE 0x2
#define ACL_SYM_TYPE 0x3
...
...
@@ -214,7 +216,7 @@ dns_c_ndcctx_new(isc_mem_t *mem, dns_c_ndcctx_t **ctx) {
return
(
ISC_R_SUCCESS
);
}
isc_result_t
void
dns_c_ndcctx_destroy
(
dns_c_ndcctx_t
**
ndcctx
)
{
dns_c_ndcctx_t
*
ctx
;
isc_mem_t
*
mem
;
...
...
@@ -241,8 +243,6 @@ dns_c_ndcctx_destroy(dns_c_ndcctx_t **ndcctx) {
isc_mem_put
(
mem
,
ctx
,
sizeof
*
ctx
);
*
ndcctx
=
NULL
;
return
(
ISC_R_SUCCESS
);
}
...
...
@@ -802,7 +802,7 @@ dns_c_ndcparseconf(const char *filename, isc_mem_t *mem,
{
ndcpcontext
pctx
;
isc_result_t
result
;
dns_c_ndcctx_t
*
aConfig
;
dns_c_ndcctx_t
*
aConfig
=
NULL
;
result
=
parser_setup
(
&
pctx
,
mem
,
filename
);
if
(
result
!=
ISC_R_SUCCESS
)
...
...
lib/dns/include/dns/confndc.h
View file @
838281ed
...
...
@@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: confndc.h,v 1.
8
2000/0
6/22 21:55:26
tale Exp $ */
/* $Id: confndc.h,v 1.
9
2000/0
7/10 11:27:12
tale Exp $ */
#ifndef DNS_CONFNDC_H
#define DNS_CONFNDC_H 1
...
...
@@ -93,7 +93,7 @@ ISC_LANG_BEGINDECLS
isc_result_t
dns_c_ndcctx_new
(
isc_mem_t
*
mem
,
dns_c_ndcctx_t
**
ctx
);
isc_result_t
void
dns_c_ndcctx_destroy
(
dns_c_ndcctx_t
**
ctx
);
isc_result_t
...
...
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