From 0d0c5909369df0e9184f8b8864823eca53733764 Mon Sep 17 00:00:00 2001 From: Matus Fabian Date: Wed, 24 Apr 2024 10:29:41 +0200 Subject: [PATCH] hsa: fix http client error handling Type: fix Change-Id: I5595260b903e3e1f15caccd168914f33f7161b59 Signed-off-by: Matus Fabian --- src/plugins/hs_apps/http_client_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/hs_apps/http_client_cli.c b/src/plugins/hs_apps/http_client_cli.c index f44d4e1bcd1..8de9ff8fd37 100644 --- a/src/plugins/hs_apps/http_client_cli.c +++ b/src/plugins/hs_apps/http_client_cli.c @@ -411,7 +411,7 @@ hcc_run (vlib_main_t *vm) vec_free (hcm->http_response); break; default: - clib_error_return (0, "unexpected event %d", event_type); + err = clib_error_return (0, "unexpected event %d", event_type); break; } -- 2.16.6