diff options
author | Florin Coras <fcoras@cisco.com> | 2019-04-09 16:13:18 -0700 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2019-04-10 15:58:27 +0000 |
commit | bee9768bd41d52d80d8ee3a03a2b1c236da080b0 (patch) | |
tree | e8f428bc3e77eac28cfc564de2e194d4e5b3abe7 /src/vnet/session/application.c | |
parent | 7f9b7f9f492d1748d8ba025b3a713058fdb1943d (diff) |
session: binary api app names as vectors
Change-Id: Iae358365de8ccbc0441b14f21ba6b365cbfec09a
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/application.c')
-rw-r--r-- | src/vnet/session/application.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/session/application.c b/src/vnet/session/application.c index 8a7745e0aca..82b6dfef534 100644 --- a/src/vnet/session/application.c +++ b/src/vnet/session/application.c @@ -821,11 +821,11 @@ app_name_from_api_index (u32 api_client_index) vl_api_registration_t *regp; regp = vl_api_client_index_to_registration (api_client_index); if (regp) - return format (0, "%s%c", regp->name, 0); + return format (0, "%s", regp->name); clib_warning ("api client index %u does not have an api registration!", api_client_index); - return format (0, "unknown%c", 0); + return format (0, "unknown"); } /** |