Skip to content

Commit

Permalink
ipcc: Fix errno returned from qb_ipcc_connect
Browse files Browse the repository at this point in the history
The errno value from qb_ipcc_connect was incorrectly negated
when I introduced qb_ipcc_async_connect()
  • Loading branch information
chrissie-c committed Mar 3, 2022
1 parent 3fb2b59 commit f510634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ipcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ int qb_ipcc_connect_continue(struct qb_ipcc_connection * c)
free(c->receive_buf);
free(c);
errno = -res;
return -res;
return res;

}

Expand Down

0 comments on commit f510634

Please sign in to comment.