[glib-networking/wip/openssl: 31/31] Improve message



commit 11ed8d2461695e7fec03fbd9a24f104397b8e219
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Fri Nov 6 16:31:36 2015 +0100

    Improve message

 tls/openssl/gtlsconnection-openssl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tls/openssl/gtlsconnection-openssl.c b/tls/openssl/gtlsconnection-openssl.c
index 08ce38c..9bac302 100644
--- a/tls/openssl/gtlsconnection-openssl.c
+++ b/tls/openssl/gtlsconnection-openssl.c
@@ -148,7 +148,7 @@ end_openssl_io (GTlsConnectionOpenssl  *openssl,
     g_propagate_error (error, my_error);
   else
     /* FIXME: this is just for debug */
-    g_message ("end_openssl_io: %d, %d", err_code, reason);
+    g_message ("end_openssl_io %s: %d, %d", G_IS_TLS_CLIENT_CONNECTION (openssl) ? "client" : "server", 
err_code, reason);
 
   if (error && !*error)
     {


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