aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-08-03 18:59:12 +0200
committerTobias Brunner <tobias@strongswan.org>2010-08-03 19:00:46 +0200
commit56bceda7b554bfdefbfe7eaa95edf05399f6830d (patch)
treeb837eee54b1bad65c63ddea44b665841737b1e2e /src/libcharon/plugins
parent0f82a47063f05d8eeae64866ff4787edc8db6328 (diff)
downloadstrongswan-56bceda7b554bfdefbfe7eaa95edf05399f6830d.tar.bz2
strongswan-56bceda7b554bfdefbfe7eaa95edf05399f6830d.tar.xz
Fixed compiler warnings.
Diffstat (limited to 'src/libcharon/plugins')
-rw-r--r--src/libcharon/plugins/ha/ha_segments.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libcharon/plugins/ha/ha_segments.c b/src/libcharon/plugins/ha/ha_segments.c
index be2d7e428..c8c20859b 100644
--- a/src/libcharon/plugins/ha/ha_segments.c
+++ b/src/libcharon/plugins/ha/ha_segments.c
@@ -382,7 +382,9 @@ ha_segments_t *ha_segments_create(ha_socket_t *socket, ha_kernel_t *kernel,
INIT(this,
.public = {
- .listener.alert = _alert_hook,
+ .listener = {
+ .alert = _alert_hook,
+ },
.activate = _activate,
.deactivate = _deactivate,
.handle_status = _handle_status,