pidgin: 3b7b63eb: Display the username in the debug log wh...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Mon Aug 24 23:55:30 EDT 2009
-----------------------------------------------------------------
Revision: 3b7b63ebdf58f9cc78e77bf88c40e48b704dd1a8
Ancestor: c637c732c528fb4d5bd6023bd572dd7a74714182
Author: darkrain42 at pidgin.im
Date: 2009-08-25T03:54:33
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/3b7b63ebdf58f9cc78e77bf88c40e48b704dd1a8
Modified files:
libpurple/account.c
ChangeLog:
Display the username in the debug log when disconnecting an account.
-------------- next part --------------
============================================================
--- libpurple/account.c ed1447e356c599eaf779b947205a136748e80eb4
+++ libpurple/account.c 82931533b8174bb99ab4d62337d1072bf3af2d8c
@@ -1206,11 +1206,14 @@ purple_account_disconnect(PurpleAccount
purple_account_disconnect(PurpleAccount *account)
{
PurpleConnection *gc;
+ const char *username;
g_return_if_fail(account != NULL);
g_return_if_fail(!purple_account_is_disconnected(account));
- purple_debug_info("account", "Disconnecting account %p\n", account);
+ username = purple_account_get_username(account);
+ purple_debug_info("account", "Disconnecting account %s (%p)\n",
+ username ? username : "(null)", account);
account->disconnecting = TRUE;
More information about the Commits
mailing list