Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
d27e9083
Commit
d27e9083
authored
Apr 28, 2017
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check the VPF return values
parent
12f71d4a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vut.c
lib/libvarnishapi/vut.c
+2
-2
No files found.
lib/libvarnishapi/vut.c
View file @
d27e9083
...
@@ -66,7 +66,7 @@ static void
...
@@ -66,7 +66,7 @@ static void
vut_vpf_remove
(
void
)
vut_vpf_remove
(
void
)
{
{
if
(
VUT
.
pfh
)
{
if
(
VUT
.
pfh
)
{
VPF_Remove
(
VUT
.
pfh
);
AZ
(
VPF_Remove
(
VUT
.
pfh
)
);
VUT
.
pfh
=
NULL
;
VUT
.
pfh
=
NULL
;
}
}
}
}
...
@@ -326,7 +326,7 @@ VUT_Setup(void)
...
@@ -326,7 +326,7 @@ VUT_Setup(void)
/* Write PID and setup exit handler */
/* Write PID and setup exit handler */
if
(
VUT
.
pfh
!=
NULL
)
{
if
(
VUT
.
pfh
!=
NULL
)
{
VPF_Write
(
VUT
.
pfh
);
AZ
(
VPF_Write
(
VUT
.
pfh
)
);
AZ
(
atexit
(
vut_vpf_remove
));
AZ
(
atexit
(
vut_vpf_remove
));
}
}
}
}
...
...
Write
Preview
Markdown
is supported
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