/pidgin/main: e4c046cc8a77: Use more understandable descriptions...

Ankit Vani a at nevitus.org
Sat Jan 25 15:43:07 EST 2014


Changeset: e4c046cc8a777daad6e4191f79de7907c40cc5c5
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2014-01-26 02:12 +0530
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/e4c046cc8a77

Description:

Use more understandable descriptions in places where outgoing purple values and old cipher API was used

diffstat:

 libpurple/protocols/jabber/jabber.c |  4 ++--
 libpurple/protocols/jabber/jutil.c  |  2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diffs (30 lines):

diff --git a/libpurple/protocols/jabber/jabber.c b/libpurple/protocols/jabber/jabber.c
--- a/libpurple/protocols/jabber/jabber.c
+++ b/libpurple/protocols/jabber/jabber.c
@@ -4001,12 +4001,12 @@ void jabber_plugin_init(PurplePlugin *pl
 	purple_signal_register(plugin, "jabber-receiving-xmlnode",
 			purple_marshal_VOID__POINTER_POINTER, G_TYPE_NONE, 2,
 			PURPLE_TYPE_CONNECTION,
-			G_TYPE_POINTER); /* modifiable PurpleXmlNode */
+			G_TYPE_POINTER); /* pointer to a PurpleXmlNode* */
 
 	purple_signal_register(plugin, "jabber-sending-xmlnode",
 			purple_marshal_VOID__POINTER_POINTER, G_TYPE_NONE, 2,
 			PURPLE_TYPE_CONNECTION,
-			G_TYPE_POINTER); /* modifiable PurpleXmlNode */
+			G_TYPE_POINTER); /* pointer to a PurpleXmlNode* */
 
 	/*
 	 * Do not remove this or the plugin will fail. Completely. You have been
diff --git a/libpurple/protocols/jabber/jutil.c b/libpurple/protocols/jabber/jutil.c
--- a/libpurple/protocols/jabber/jutil.c
+++ b/libpurple/protocols/jabber/jutil.c
@@ -751,7 +751,7 @@ jabber_calculate_data_hash(gconstpointer
 
 	if (hash == NULL)
 	{
-		purple_debug_error("jabber", "Could not find %s cipher\n", hash_algo);
+		purple_debug_error("jabber", "Unexpected hashing algorithm %s requested\n", hash_algo);
 		g_return_val_if_reached(NULL);
 	}
 



More information about the Commits mailing list