[glib-networking/mcatanzaro/base-rebase: 6/55] base: remove obsolete version check



commit 9476c6c3d29c7067581c585030a86fefb799620b
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Thu Apr 4 16:43:47 2019 -0500

    base: remove obsolete version check
    
    Port of acbc72ce79fb0874f730c34950533a88ee106920

 tls/base/gtlsconnection-base.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/tls/base/gtlsconnection-base.c b/tls/base/gtlsconnection-base.c
index c03a39c..3b5fa7d 100644
--- a/tls/base/gtlsconnection-base.c
+++ b/tls/base/gtlsconnection-base.c
@@ -793,9 +793,7 @@ handshake_thread (GTask        *task,
   if (error)
     {
       if ((g_error_matches (error, G_IO_ERROR, G_IO_ERROR_FAILED) ||
-#if GLIB_CHECK_VERSION (2, 35, 3)
            g_error_matches (error, G_IO_ERROR, G_IO_ERROR_BROKEN_PIPE) ||
-#endif
            g_error_matches (error, G_TLS_ERROR, G_TLS_ERROR_NOT_TLS)) &&
           tls->certificate_requested)
         {


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