diff --git a/net/local/local_connect.c b/net/local/local_connect.c index 7153374930..37181ddd30 100644 --- a/net/local/local_connect.c +++ b/net/local/local_connect.c @@ -311,8 +311,8 @@ int psock_local_connect(FAR struct socket *psock, if (conn->lc_proto == SOCK_STREAM) { ret = - local_stream_connect( - client, conn, _SS_ISNONBLOCK(conn->lc_conn.s_flags)); + local_stream_connect(client, conn, + _SS_ISNONBLOCK(client->lc_conn.s_flags)); } net_unlock();