diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-26 12:16:50 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-26 12:16:50 -0600 |
commit | 9f2e2e96321f14da97adda618a7e4721cbb9791c (patch) | |
tree | 479a8f642ae6054772dd2da4b3a5eeac14dfabc0 /libhw | |
parent | 50fb8395526066d20e143b49a12c0f6aeddee1ac (diff) | |
parent | 58c3d2a7ff9c188be8a09917326b6e87400cf3dd (diff) |
Merge branch 'lukeshu/fix'
Diffstat (limited to 'libhw')
-rw-r--r-- | libhw/host_net.c | 1 | ||||
-rw-r--r-- | libhw/w5500_ll.h | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/libhw/host_net.c b/libhw/host_net.c index 9d3e97b..e89cd66 100644 --- a/libhw/host_net.c +++ b/libhw/host_net.c @@ -40,7 +40,6 @@ LO_IMPLEMENTATION_C(io_closer, struct _hostnet_tcp_conn, hostnet_tcp, static) LO_IMPLEMENTATION_C(io_bidi_closer, struct _hostnet_tcp_conn, hostnet_tcp, static) LO_IMPLEMENTATION_C(net_stream_conn, struct _hostnet_tcp_conn, hostnet_tcp, static) - LO_IMPLEMENTATION_C(io_closer, struct hostnet_udp_conn, hostnet_udp, static) LO_IMPLEMENTATION_C(net_packet_conn, struct hostnet_udp_conn, hostnet_udp, static) diff --git a/libhw/w5500_ll.h b/libhw/w5500_ll.h index cad20a4..3822ad4 100644 --- a/libhw/w5500_ll.h +++ b/libhw/w5500_ll.h @@ -109,8 +109,8 @@ w5500ll_writev( } inner[j] = (struct duplex_iovec){ .iov_read_dst = NULL, - .iov_write_src = iov[i].iov_base+(skipped-skip), - .iov_len = iov[i].iov_len-(skipped-skip), + .iov_write_src = iov[i].iov_base+(skip-skipped), + .iov_len = iov[i].iov_len-(skip-skipped), }; skipped = skip; } else { |