[glib-networking] Improve a misleading debug message



commit 125babc3cdd85caa0df96c38a2495a4cd619e0bd
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Sun Dec 29 18:16:01 2019 -0600

    Improve a misleading debug message
    
    A failure return value from do_implicit_handshake() could just mean that
    an async implicit handshake has been started, and needs to complete
    before a non-handshake op can be claimed.

 tls/base/gtlsconnection-base.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tls/base/gtlsconnection-base.c b/tls/base/gtlsconnection-base.c
index 1971300..6a885d1 100644
--- a/tls/base/gtlsconnection-base.c
+++ b/tls/base/gtlsconnection-base.c
@@ -564,7 +564,7 @@ claim_op (GTlsConnectionBase    *tls,
           if (!do_implicit_handshake (tls, timeout, cancellable, error))
             {
               g_mutex_unlock (&priv->op_mutex);
-              g_tls_log_debug (tls, "claim_op failed: do_implicit_handshake failed");
+              g_tls_log_debug (tls, "claim_op failed: implicit handshake required");
               return FALSE;
             }
         }


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