mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
Merge pull request #18035 from laurin/net-sock-udp-designated-initializers
net/sock/udp: designated intializer, C++ compatibility
This commit is contained in:
commit
7eaa437532
@ -683,8 +683,9 @@ static inline ssize_t sock_udp_send_aux(sock_udp_t *sock,
|
||||
sock_udp_aux_tx_t *aux)
|
||||
{
|
||||
const iolist_t snip = {
|
||||
.iol_base = (void *)data,
|
||||
.iol_len = len,
|
||||
NULL,
|
||||
(void *)data,
|
||||
len,
|
||||
};
|
||||
|
||||
return sock_udp_sendv_aux(sock, &snip, remote, aux);
|
||||
|
Loading…
Reference in New Issue
Block a user