diff options
Diffstat (limited to 'rpc_server_loopback.c')
-rw-r--r-- | rpc_server_loopback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc_server_loopback.c b/rpc_server_loopback.c index 4ca7467..643d5a2 100644 --- a/rpc_server_loopback.c +++ b/rpc_server_loopback.c @@ -80,7 +80,7 @@ hal_error_t hal_rpc_recvfrom(uint8_t * const buf, size_t * const len, void **opa static struct sockaddr_in sin; socklen_t sin_len = sizeof(sin); int ret; - + if ((ret = recvfrom(fd, buf, *len, 0, (struct sockaddr *)&sin, &sin_len)) == -1) return HAL_ERROR_RPC_TRANSPORT; *opaque = (void *)&sin; |