Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
c11 safe string handling support
[vpp.git]
/
src
/
vpp-api
/
client
/
test.c
diff --git
a/src/vpp-api/client/test.c
b/src/vpp-api/client/test.c
index
8061fe5
..
da2211b
100644
(file)
--- a/
src/vpp-api/client/test.c
+++ b/
src/vpp-api/client/test.c
@@
-55,7
+55,7
@@
volatile u16 result_msg_id;
#define M_NOALLOC(T,t) \
do { \
result_ready = 0; \
#define M_NOALLOC(T,t) \
do { \
result_ready = 0; \
-
memset (mp, 0, sizeof (*mp));
\
+
clib_memset (mp, 0, sizeof (*mp));
\
mp->_vl_msg_id = ntohs (VL_API_##T); \
mp->client_index = am->my_client_index; \
} while(0);
mp->_vl_msg_id = ntohs (VL_API_##T); \
mp->client_index = am->my_client_index; \
} while(0);