summaryrefslogtreecommitdiff
path: root/code/test
diff options
context:
space:
mode:
Diffstat (limited to 'code/test')
-rw-r--r--code/test/vc_client_t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/test/vc_client_t.c b/code/test/vc_client_t.c
index 54c657d..3a2402e 100644
--- a/code/test/vc_client_t.c
+++ b/code/test/vc_client_t.c
@@ -54,7 +54,7 @@ ssize_t handle_msg(ECPConnection *conn, ecp_seq_t sq, unsigned char t, unsigned
unsigned char buf[1000];
strcpy((char *)buf, msg);
- ssize_t _rv = ecp_send(conn, MTYPE_MSG, buf, strlen(msg)+1);
+ ssize_t _rv = ecp_send(conn, MTYPE_MSG, buf, 1000);
if (counter % 100 == 0) {
struct timeval tv;