diff options
author | Martin Willi <martin@revosec.ch> | 2011-07-14 15:56:10 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2011-07-14 15:56:10 +0200 |
commit | b93d77ce67678072b580e3c11574de1aab4da6dc (patch) | |
tree | d6dc85555fa94dc65f301617321a69fd8e3f310f /src | |
parent | 4742d6501a5fc3ff0e356badce66b27d3ec38b99 (diff) | |
download | strongswan-b93d77ce67678072b580e3c11574de1aab4da6dc.tar.bz2 strongswan-b93d77ce67678072b580e3c11574de1aab4da6dc.tar.xz |
Fix parentheses in write() to CLUSTERIP control files
Diffstat (limited to 'src')
-rw-r--r-- | src/libcharon/plugins/ha/ha_kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/ha/ha_kernel.c b/src/libcharon/plugins/ha/ha_kernel.c index 56bdbf454..250c3ef5e 100644 --- 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)); |