/pidgin/main: e607a97ef213: Better indentation and debug message.

Mark Doliner mark at kingant.net
Thu Sep 11 17:55:47 EDT 2014


Changeset: e607a97ef213bbb47f3c01a5b6e8b5f6e15094db
Author:	 Mark Doliner <mark at kingant.net>
Date:	 2014-09-11 14:55 -0700
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/e607a97ef213

Description:

Better indentation and debug message.

diffstat:

 libpurple/plugins/ssl/ssl-gnutls.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (19 lines):

diff --git a/libpurple/plugins/ssl/ssl-gnutls.c b/libpurple/plugins/ssl/ssl-gnutls.c
--- a/libpurple/plugins/ssl/ssl-gnutls.c
+++ b/libpurple/plugins/ssl/ssl-gnutls.c
@@ -242,12 +242,12 @@ static void ssl_gnutls_handshake_cb(gpoi
 	gnutls_data->handshake_handler = 0;
 
 	if(ret != 0) {
-		purple_debug_error("gnutls", "Handshake failed. Error %s\n",
-			gnutls_strerror(ret));
+		purple_debug_error("gnutls", "Handshake failed: %s\n",
+				gnutls_strerror(ret));
 
 		if(gsc->error_cb != NULL)
 			gsc->error_cb(gsc, PURPLE_SSL_HANDSHAKE_FAILED,
-				gsc->connect_cb_data);
+					gsc->connect_cb_data);
 
 		purple_ssl_close(gsc);
 	} else {



More information about the Commits mailing list