diff options
| author | Tobias Brunner <tobias@strongswan.org> | 2010-08-03 18:59:12 +0200 |
|---|---|---|
| committer | Tobias Brunner <tobias@strongswan.org> | 2010-08-03 19:00:46 +0200 |
| commit | 56bceda7b554bfdefbfe7eaa95edf05399f6830d (patch) | |
| tree | b837eee54b1bad65c63ddea44b665841737b1e2e /src/libcharon/plugins | |
| parent | 0f82a47063f05d8eeae64866ff4787edc8db6328 (diff) | |
| download | strongswan-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.c | 4 |
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, |
