From 6ee6b65ef03f8a479cccb2ae04e6b156f309f045 Mon Sep 17 00:00:00 2001 From: "Enrico Loparco (eloparco)" Date: Thu, 8 Sep 2022 12:18:09 +0000 Subject: feat(slab): add slab allocator to store hashtables' keys Ref: HICN-777 Signed-off-by: Enrico Loparco (eloparco) Change-Id: Ibbd5c5e73cfd2f6adf757f7248dff8a933515d21 --- ctrl/libhicnctrl/src/modules/hicn_light.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ctrl') diff --git a/ctrl/libhicnctrl/src/modules/hicn_light.c b/ctrl/libhicnctrl/src/modules/hicn_light.c index 1af6c79e2..658043b7f 100644 --- a/ctrl/libhicnctrl/src/modules/hicn_light.c +++ b/ctrl/libhicnctrl/src/modules/hicn_light.c @@ -1155,7 +1155,7 @@ static ssize_t hicnlight_prepare(hc_sock_t *sock, hc_request_t *request, */ static int hicnlight_process(hc_sock_t *sock, size_t count) { hc_sock_light_data_t *s = (hc_sock_light_data_t *)sock->data; - int rc; + int rc = -99; if (count > 0) s->woff += count; -- cgit 1.2.3-korg