strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4742d65
)
Fix parentheses in write() to CLUSTERIP control files
author
Martin Willi
<martin@revosec.ch>
Thu, 14 Jul 2011 13:56:10 +0000
(15:56 +0200)
committer
Martin Willi
<martin@revosec.ch>
Thu, 14 Jul 2011 13:56:10 +0000
(15:56 +0200)
src/libcharon/plugins/ha/ha_kernel.c
patch
|
blob
|
history
diff --git
a/src/libcharon/plugins/ha/ha_kernel.c
b/src/libcharon/plugins/ha/ha_kernel.c
index
56bdbf4
..
250c3ef
100644
(file)
--- a/
src/libcharon/plugins/ha/ha_kernel.c
+++ b/
src/libcharon/plugins/ha/ha_kernel.c
@@
-123,7
+123,7
@@
static void enable_disable(private_ha_kernel_t *this, u_int segment,
file, strerror(errno));
return;
}
- if (write(fd, cmd, strlen(cmd)
== -1)
)
+ if (write(fd, cmd, strlen(cmd)
) == -1
)
{
DBG1(DBG_CFG, "writing to CLUSTERIP file '%s' failed: %s",
file, strerror(errno));