1
0
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:
Martine Lenders 2017-03-07 16:50:18 +01:00 committed by GitHub
commit 60fda890a6

View File

@ -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;
}