mirror of
https://git.yoctoproject.org/poky
synced 2026-11-14 14:37:12 +00:00
glib-networking: Correct glib error handling in test patch
(From OE-Core rev: 4ba74f61f38827d82586cf9c993a4b27065f5c6f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
1 parent
fbbe776202
commit
b5a7d85a9e
1 file changed
+1
-1
@@ -21,7 +21,7 @@ Index: glib-networking-2.74.0/tls/tests/connection.c
|
||||
MIN (TEST_DATA_LENGTH / 2, TEST_DATA_LENGTH - test->nread),
|
||||
NULL, &error);
|
||||
+
|
||||
+ if (error == G_IO_STATUS_AGAIN)
|
||||
+ if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_BUSY))
|
||||
+ continue;
|
||||
+
|
||||
g_assert_no_error (error);
|
||||
|
||||
Reference in new issue
Block a user