Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
api: use string type for strings in memclnt.api
[vpp.git]
/
src
/
vat
/
api_format.c
diff --git
a/src/vat/api_format.c
b/src/vat/api_format.c
index
7efdadc
..
abce805
100644
(file)
--- a/
src/vat/api_format.c
+++ b/
src/vat/api_format.c
@@
-14990,7
+14990,7
@@
api_get_first_msg_id (vat_main_t * vam)
}
M (GET_FIRST_MSG_ID, mp);
-
clib_memcpy (mp->name, name, vec_len (name)
);
+
vl_api_vec_to_api_string (name, &mp->name
);
S (mp);
W (ret);
return ret;