Skip to content
Snippets Groups Projects
Commit 6022760f authored by Oleg Hahm's avatar Oleg Hahm
Browse files

posix: missing closing parenthesis

parent f3d3c08e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment