changeset 2741:38cb5fa48bec

[gaim-migrate @ 2754] it's easier for me to see services in hex committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 17 Nov 2001 22:50:08 +0000
parents 68ad186943e0
children 6f527cbd899d
files src/protocols/yahoo/yahoo.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Sat Nov 17 21:59:59 2001 +0000
+++ b/src/protocols/yahoo/yahoo.c	Sat Nov 17 22:50:08 2001 +0000
@@ -658,7 +658,7 @@
 		yahoo_process_list(gc, pkt);
 		break;
 	default:
-		debug_printf("unhandled service %d\n", pkt->service);
+		debug_printf("unhandled service 0x%02x\n", pkt->service);
 		break;
 	}
 }
@@ -705,7 +705,7 @@
 		pkt = yahoo_packet_new(0, 0, 0);
 
 		pkt->service = yahoo_get16(yd->rxqueue + pos); pos += 2;
-		debug_printf("Yahoo Service: %d Status: %d\n", pkt->service, pkt->status);
+		debug_printf("Yahoo Service: 0x%02x Status: %d\n", pkt->service, pkt->status);
 		pkt->status = yahoo_get32(yd->rxqueue + pos); pos += 4;
 		pkt->id = yahoo_get32(yd->rxqueue + pos); pos += 4;