Skip to content
GitLab
Menu
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
f9c86267
Commit
f9c86267
authored
Feb 16, 2000
by
Bob Halley
Browse files
lint
parent
71385229
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/lwres/lwconfig.c
View file @
f9c86267
...
@@ -147,7 +147,7 @@ lwres_strdup(lwres_context_t *ctx, const char *str)
...
@@ -147,7 +147,7 @@ lwres_strdup(lwres_context_t *ctx, const char *str)
{
{
char
*
p
;
char
*
p
;
REQUIRE
(
*
str
!=
NULL
);
REQUIRE
(
str
!=
NULL
);
REQUIRE
(
strlen
(
str
)
>
0
);
REQUIRE
(
strlen
(
str
)
>
0
);
p
=
CTXMALLOC
(
strlen
(
str
)
+
1
);
p
=
CTXMALLOC
(
strlen
(
str
)
+
1
);
...
@@ -480,6 +480,7 @@ lwres_conf_parse(lwres_context_t *ctx, const char *filename,
...
@@ -480,6 +480,7 @@ lwres_conf_parse(lwres_context_t *ctx, const char *filename,
REQUIRE
(
strlen
(
filename
)
>
0
);
REQUIRE
(
strlen
(
filename
)
>
0
);
REQUIRE
(
confdata
!=
NULL
);
REQUIRE
(
confdata
!=
NULL
);
rval
=
LWRES_R_FAILURE
;
/* Make compiler happy. */
errno
=
0
;
errno
=
0
;
if
((
fp
=
fopen
(
filename
,
"r"
))
==
NULL
)
if
((
fp
=
fopen
(
filename
,
"r"
))
==
NULL
)
return
(
LWRES_R_FAILURE
);
return
(
LWRES_R_FAILURE
);
...
...
Write
Preview
Supports
Markdown
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