diff options
author | Uros Majstorovic <majstor@majstor.org> | 2019-12-04 06:09:59 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2019-12-04 06:09:59 +0100 |
commit | 2c981aec5e5c10f9fd036dfb48105b16f16e4233 (patch) | |
tree | 4d191cbb595202579c961214a116fe0e1faeb5e7 /code/ecp | |
parent | da01d561d0c0365d985516d3696b17302fd33770 (diff) |
net bugfix; net alloc changed
Diffstat (limited to 'code/ecp')
-rw-r--r-- | code/ecp/fe310/transport.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |