From 0bcbb62eb408e6fcbfe78fbc2756dfb1b9ae6a37 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Fri, 6 Dec 2019 20:04:08 +0100 Subject: net refactor: alloc reverted to take void arg; EOS_NET_FLAGs renamed --- code/ecp/fe310/transport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code/ecp/fe310/transport.c') diff --git a/code/ecp/fe310/transport.c b/code/ecp/fe310/transport.c index a49d3b6..6da5139 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(1); + buf = eos_net_alloc(); memcpy(buf+EOS_SOCK_SIZE_UDP_HDR, packet->buffer, msg_size); } } -- cgit v1.2.3