From 2c981aec5e5c10f9fd036dfb48105b16f16e4233 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Wed, 4 Dec 2019 06:09:59 +0100 Subject: net bugfix; net alloc changed --- code/ecp/fe310/transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/ecp') diff --git a/code/ecp/fe310/transport.c b/code/ecp/fe310/transport.c index 6da5139..a49d3b6 100644 --- a/code/ecp/fe310/transport.c +++ b/code/ecp/fe310/transport.c @@ -85,7 +85,7 @@ ssize_t ecp_tr_send(ECPSocket *sock, ECPBuffer *packet, size_t msg_size, ECPNetA buf = packet->buffer-EOS_SOCK_SIZE_UDP_HDR; packet->buffer = NULL; } else { - buf = eos_net_alloc(); + buf = eos_net_alloc(1); memcpy(buf+EOS_SOCK_SIZE_UDP_HDR, packet->buffer, msg_size); } } -- cgit v1.2.3