Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
7f9b7f9
)
session: binary api app names as vectors
75/18775/3
author
Florin Coras
<fcoras@cisco.com>
Tue, 9 Apr 2019 23:13:18 +0000
(16:13 -0700)
committer
Dave Wallace
<dwallacelf@gmail.com>
Wed, 10 Apr 2019 15:58:27 +0000
(15:58 +0000)
Change-Id: Iae358365de8ccbc0441b14f21ba6b365cbfec09a
Signed-off-by: Florin Coras <fcoras@cisco.com>
src/vnet/session/application.c
patch
|
blob
|
history
diff --git
a/src/vnet/session/application.c
b/src/vnet/session/application.c
index
8a7745e
..
82b6dfe
100644
(file)
--- 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
"
);
}
/**