Mercurial > pidgin
changeset 27813:815d9ce1a8b0
Log the reason for disconnection to the debug log, so that we might
actually see it in debug logs. hopefully. I meant to do this many moons ago.
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Tue, 04 Aug 2009 01:23:45 +0000 |
parents | 4a80e0f7f185 |
children | 4f6883b854a2 |
files | libpurple/connection.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/connection.c Tue Aug 04 00:32:56 2009 +0000 +++ b/libpurple/connection.c Tue Aug 04 01:23:45 2009 +0000 @@ -578,6 +578,9 @@ gc->wants_to_die = purple_connection_error_is_fatal (reason); + purple_debug_info("connection", "Connection error on %p (reason: %u description: %s)\n", + gc, reason, description); + ops = purple_connections_get_ui_ops(); if (ops != NULL)