From b8eca5937fc110e85d426cefba4feff00a20a04a Mon Sep 17 00:00:00 2001 From: Jordan Augé Date: Wed, 23 Oct 2019 09:58:42 +0200 Subject: [HICN-350] Minor cleanup in control API MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I5c3705aa439a1cf6bdca915f82c0c014771cc542 Signed-off-by: Jordan Augé --- ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ctrl/facemgr') diff --git a/ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c b/ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c index 3ebbee4a1..2fdc3f7c3 100644 --- a/ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c +++ b/ctrl/facemgr/src/interfaces/hicn_light/hicn_light.c @@ -221,8 +221,8 @@ int hl_on_event(interface_t * interface, const facelet_t * facelet) ERROR("Face to update has not been found"); goto ERR; } - char conn_id_or_name[NAME_LEN]; - snprintf(conn_id_or_name, NAME_LEN, "%d", face_found->id); + char conn_id_or_name[SYMBOLIC_NAME_LEN]; + snprintf(conn_id_or_name, SYMBOLIC_NAME_LEN, "%d", face_found->id); free(face_found); printf("Face id = %d\n", face_found->id); -- cgit 1.2.3-korg