diff options
Diffstat (limited to 'code/test/client.c')
-rw-r--r-- | code/test/client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/test/client.c b/code/test/client.c index 1d5dc6c..992479b 100644 --- a/code/test/client.c +++ b/code/test/client.c @@ -25,8 +25,8 @@ ssize_t handle_open_c(ECPConnection *conn, ecp_seq_t sq, unsigned char t, unsign return s; } - 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); |