aboutsummaryrefslogtreecommitdiff
path: root/rpc_client_loopback.c
diff options
context:
space:
mode:
Diffstat (limited to 'rpc_client_loopback.c')
-rw-r--r--rpc_client_loopback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc_client_loopback.c b/rpc_client_loopback.c
index b31bdd2..39deff9 100644
--- a/rpc_client_loopback.c
+++ b/rpc_client_loopback.c
@@ -77,7 +77,7 @@ hal_error_t hal_rpc_send(const uint8_t * const buf, const size_t len)
hal_error_t hal_rpc_recv(uint8_t * const buf, size_t * const len)
{
int ret;
-
+
if ((ret = recv(sock, buf, *len, 0)) == -1)
return HAL_ERROR_RPC_TRANSPORT;
*len = ret;