mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
Merge pull request #6704 from OlegHahm/posix_socket_missing_parens
posix: missing closing parenthesis
This commit is contained in:
commit
60fda890a6
@ -795,7 +795,7 @@ ssize_t recvfrom(int socket, void *restrict buffer, size_t length, int flags,
|
||||
case SOCK_RAW:
|
||||
/* TODO: apply configured timeout */
|
||||
if ((res = sock_ip_recv(&s->sock->raw, buffer, length, SOCK_NO_TIMEOUT,
|
||||
(sock_ip_ep_t *)&ep) < 0) {
|
||||
(sock_ip_ep_t *)&ep)) < 0) {
|
||||
errno = -res;
|
||||
res = -1;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user