diff options
Diffstat (limited to 'code/ecp/fe310/transport.c')
-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); } } |