[glib-networking/enable-openssl-tests] fixup! Add back the handling of the syscall error



commit 86bdbb4f10967ba6097717555ca0bb35f7a02748
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Fri May 24 09:49:38 2019 +0200

    fixup! Add back the handling of the syscall error

 tls/openssl/gtlsconnection-openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tls/openssl/gtlsconnection-openssl.c b/tls/openssl/gtlsconnection-openssl.c
index b595120..a54350b 100644
--- a/tls/openssl/gtlsconnection-openssl.c
+++ b/tls/openssl/gtlsconnection-openssl.c
@@ -108,7 +108,7 @@ end_openssl_io (GTlsConnectionOpenssl  *openssl,
 
   /* This case is documented that it may happen and that is perfectly fine */
   if (err_code == SSL_ERROR_SYSCALL &&
-      ((shutting_down && !my_error) ||
+      ((priv->shutting_down && !my_error) ||
        g_error_matches (my_error, G_IO_ERROR, G_IO_ERROR_BROKEN_PIPE)))
     {
       g_clear_error (&my_error);


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