Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jthomas43 committed Jan 16, 2024
1 parent 6df1b36 commit 4d9d443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/io_win.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ udx__on_writable (udx_socket_t *socket) {
pkt->dest_len = sizeof(struct sockaddr_in6);
}

ssize_t size = udx__sendmsg(socket, (uv_buf_t *) pkt + 1, pkt->nbufs, (struct sockaddr *) &(pkt->dest), pkt->dest_len);
ssize_t size = udx__sendmsg(socket, (uv_buf_t *) (pkt + 1), pkt->nbufs, (struct sockaddr *) &(pkt->dest), pkt->dest_len);

if (adjust_ttl) uv_udp_set_ttl((uv_udp_t *) socket, socket->ttl);

Expand Down

0 comments on commit 4d9d443

Please sign in to comment.