summaryrefslogtreecommitdiff
path: root/code/test/vc_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/test/vc_client.c')
-rw-r--r--code/test/vc_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/code/test/vc_client.c b/code/test/vc_client.c
index 8f4b084..d5cb8f2 100644
--- a/code/test/vc_client.c
+++ b/code/test/vc_client.c
@@ -31,8 +31,8 @@ ssize_t handle_open(ECPConnection *conn, ecp_seq_t sq, unsigned char t, unsigned
printf("OPEN!\n");
- unsigned char payload[ECP_SIZE_PLD(1000)];
- unsigned char *buf = ecp_pld_get_buf(payload);
+ unsigned char payload[ECP_SIZE_PLD(1000, 0)];
+ unsigned char *buf = ecp_pld_get_buf(payload, 0);
char *msg = "PERA JE CAR!";
ecp_pld_set_type(payload, MTYPE_MSG);