[glib/wip/hadess/test-fixes: 2/2] tests: Add FIXME for bug the previous commit fixes



commit ef96b17588d74800926cc86c3afc8ea3aaaf8714
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Dec 2 17:38:25 2019 +0100

    tests: Add FIXME for bug the previous commit fixes
    
    This failure path should have set the GError but did not.

 gio/tests/socket.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/gio/tests/socket.c b/gio/tests/socket.c
index 7e4e6d017..2ac8dbbb4 100644
--- a/gio/tests/socket.c
+++ b/gio/tests/socket.c
@@ -140,7 +140,10 @@ create_server_full (GSocketFamily   family,
     {
       g_socket_set_option (data->server, IPPROTO_IPV6, IPV6_V6ONLY, FALSE, NULL);
       if (!g_socket_speaks_ipv4 (data->server))
-        goto error;
+        {
+          /* FIXME: Set error */
+          goto error;
+        }
     }
 #endif
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]