make protocol dump info more readable

This commit is contained in:
Bill Currie 2006-12-19 11:53:18 +00:00 committed by Jeff Teunissen
parent 961f30f846
commit e52633c492

View file

@ -96,10 +96,10 @@ static void
dump_protocol (progs_t *pr, pr_protocol_t *proto)
{
const char *protocol_name = "<invalid string>";
printf (" %d\n", proto->class_pointer);
printf (" %d ", proto->class_pointer);
if (PR_StringValid (pr, proto->protocol_name))
protocol_name = PR_GetString (pr, proto->protocol_name);
printf (" <%s>\n", protocol_name);
printf ("<%s>\n", protocol_name);
}
static void