strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed compiler warning.
[strongswan.git]
/
src
/
charon
/
charon.c
diff --git
a/src/charon/charon.c
b/src/charon/charon.c
index
c22b305
..
84cd546
100644
(file)
--- a/
src/charon/charon.c
+++ b/
src/charon/charon.c
@@
-262,7
+262,7
@@
static void unlink_pidfile()
* permissions on the parent dir(s) of the PID file */
if (pidfile)
{
-
ftruncate(fileno(pidfile), 0
);
+
ignore_result(ftruncate(fileno(pidfile), 0)
);
fclose(pidfile);
}
unlink(PID_FILE);