Blame SOURCES/bz2057527-fix-connect-errno.patch

0809dd
commit f5106342d023e7cc238899ec7a567ad1eeb9b404
0809dd
Author: Christine Caulfield <ccaulfie@redhat.com>
0809dd
Date:   Wed Mar 2 15:23:39 2022 +0000
0809dd
0809dd
    ipcc: Fix errno returned from qb_ipcc_connect
0809dd
    
0809dd
    The errno value from qb_ipcc_connect was incorrectly negated
0809dd
    when I introduced qb_ipcc_async_connect()
0809dd
0809dd
diff --git a/lib/ipcc.c b/lib/ipcc.c
0809dd
index c744ea1..4f35ea2 100644
0809dd
--- a/lib/ipcc.c
0809dd
+++ b/lib/ipcc.c
0809dd
@@ -152,7 +152,7 @@ disconnect_and_cleanup:
0809dd
 	free(c->receive_buf);
0809dd
 	free(c);
0809dd
 	errno = -res;
0809dd
-	return -res;
0809dd
+	return res;
0809dd
 
0809dd
 }
0809dd