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
dec0721d
Commit
dec0721d
authored
Feb 17, 2001
by
Andreas Gustafsson
Browse files
eliminate compiler warning; need <isc/print.h>
parent
73edea95
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/isccfg/parser.c
View file @
dec0721d
...
...
@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: parser.c,v 1.
9
2001/02/17 00:
22:40
gson Exp $ */
/* $Id: parser.c,v 1.
10
2001/02/17 00:
46:58
gson Exp $ */
#include
<config.h>
...
...
@@ -26,6 +26,7 @@
#include
<isc/mem.h>
#include
<isc/net.h>
#include
<isc/netaddr.h>
#include
<isc/print.h>
#include
<isc/string.h>
#include
<isc/sockaddr.h>
#include
<isc/util.h>
...
...
@@ -2173,7 +2174,7 @@ get_port(cfg_parser_t *pctx, unsigned int flags, in_port_t *port) {
"port number out of range"
);
return
(
ISC_R_UNEXPECTEDTOKEN
);
}
*
port
=
pctx
->
token
.
value
.
as_ulong
;
*
port
=
(
in_port_t
)(
pctx
->
token
.
value
.
as_ulong
)
;
return
(
ISC_R_SUCCESS
);
cleanup:
return
(
result
);
...
...
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