aboutsummaryrefslogtreecommitdiffstats
path: root/ctrl/libhicnctrl/src/api.c
diff options
context:
space:
mode:
authorJordan Augé <jordan.auge+fdio@cisco.com>2019-10-23 22:52:31 +0000
committerGerrit Code Review <gerrit@fd.io>2019-10-23 22:52:31 +0000
commit3ea94a55d3b791b263c74ec15ca3356554091b0d (patch)
tree05c0fd9540ea6f0ec72d8da9c19ba33d5041cc75 /ctrl/libhicnctrl/src/api.c
parentbfa10d1d349d52b00997db0118468c2cdbb8bf15 (diff)
parentcfa69ca65bfded68430143d2ad1a2d19a1f047aa (diff)
Merge "[HICN-351] Support for new RemoveListener API in libhicnctrl + added missing commands in CLI"
Diffstat (limited to 'ctrl/libhicnctrl/src/api.c')
-rw-r--r--ctrl/libhicnctrl/src/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctrl/libhicnctrl/src/api.c b/ctrl/libhicnctrl/src/api.c
index f6c05bc0b..0e5b529c5 100644
--- a/ctrl/libhicnctrl/src/api.c
+++ b/ctrl/libhicnctrl/src/api.c
@@ -2062,7 +2062,7 @@ hc_face_delete(hc_sock_t * s, hc_face_t * face)
/* If this is the last connection attached to the listener, remove it */
hc_data_t * connections;
- hc_listener_t listener = {0};
+ hc_listener_t listener = {{0}};
/*
* Ensure we have a corresponding local listener