Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
hsa: fix http client error handling
[vpp.git]
/
src
/
plugins
/
hs_apps
/
http_client_cli.c
diff --git
a/src/plugins/hs_apps/http_client_cli.c
b/src/plugins/hs_apps/http_client_cli.c
index
f44d4e1
..
8de9ff8
100644
(file)
--- 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;
}