changeset 24143:c5b225367947

print out the servconn number when it's disconnected References #3330
author Ka-Hing Cheung <khc@hxbc.us>
date Tue, 30 Sep 2008 06:40:11 +0000
parents fb722b8b4c74
children c87f7c6ab57c
files libpurple/protocols/msn/servconn.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/servconn.c	Tue Sep 30 05:52:57 2008 +0000
+++ b/libpurple/protocols/msn/servconn.c	Tue Sep 30 06:40:11 2008 +0000
@@ -400,9 +400,9 @@
 		return;
 
 	} else if (len <= 0) {
-		purple_debug_error("msn", "servconn read error,"
-		                          "len: %" G_GSSIZE_FORMAT ", errno: %d, error: %s\n",
-		                          len, errno, g_strerror(errno));
+		purple_debug_error("msn", "servconn %03d read error,"
+			"len: %" G_GSSIZE_FORMAT ", errno: %d, error: %s\n",
+			servconn->num, len, errno, g_strerror(errno));
 		msn_servconn_got_error(servconn, MSN_SERVCONN_ERROR_READ);
 
 		return;