changeset 1680:b83195b7ab0a

[gaim-migrate @ 1690] thought i'd something more to say committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 02 Apr 2001 09:33:52 +0000
parents d027f4c7d829
children 4a129d9f9b4f
files plugins/yay/rxhandlers.c
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/yay/rxhandlers.c	Mon Apr 02 08:48:14 2001 +0000
+++ b/plugins/yay/rxhandlers.c	Mon Apr 02 09:33:52 2001 +0000
@@ -115,8 +115,6 @@
 	char **strs;
 	int i;
 
-	YAHOO_PRINT(sess, YAHOO_LOG_DEBUG, pkt->content);
-
 	if (strstr(pkt->content, "was not AWAY"))
 		return;
 
@@ -184,7 +182,7 @@
 			(*sess->callbacks[YAHOO_HANDLE_BOUNCE].function)(sess);
 		break;
 	default:
-		g_snprintf(buf, sizeof(buf), "unhandled message type %d: %s", type, pkt->content);
+		g_snprintf(buf, sizeof(buf), "unhandled message type %d", type);
 		YAHOO_PRINT(sess, YAHOO_LOG_WARNING, buf);
 		break;
 	}
@@ -196,7 +194,8 @@
 	char buf[256];
 	int service = yahoo_makeint(pkt->service);
 	conn->magic_id = yahoo_makeint(pkt->magic_id);
-	g_snprintf(buf, sizeof(buf), "Service %d (msgtype %d)", service, yahoo_makeint(pkt->msgtype));
+	g_snprintf(buf, sizeof(buf), "Service %d (msgtype %d): %s", service,
+			yahoo_makeint(pkt->msgtype), pkt->content);
 	YAHOO_PRINT(sess, YAHOO_LOG_DEBUG, buf);
 	switch(service) {
 	case YAHOO_SERVICE_LOGON:
@@ -233,7 +232,7 @@
 									  atoi(pkt->content) : 0);
 		break;
 	default:
-		g_snprintf(buf, sizeof(buf), "unhandled service type %d: %s", service, pkt->content);
+		g_snprintf(buf, sizeof(buf), "unhandled service type %d", service);
 		YAHOO_PRINT(sess, YAHOO_LOG_WARNING, buf);
 		break;
 	}