mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-06-01 17:12:15 +00:00
make protocol dump info more readable
This commit is contained in:
parent
961f30f846
commit
e52633c492
1 changed files with 2 additions and 2 deletions
|
@ -96,10 +96,10 @@ static void
|
||||||
dump_protocol (progs_t *pr, pr_protocol_t *proto)
|
dump_protocol (progs_t *pr, pr_protocol_t *proto)
|
||||||
{
|
{
|
||||||
const char *protocol_name = "<invalid string>";
|
const char *protocol_name = "<invalid string>";
|
||||||
printf (" %d\n", proto->class_pointer);
|
printf (" %d ", proto->class_pointer);
|
||||||
if (PR_StringValid (pr, proto->protocol_name))
|
if (PR_StringValid (pr, proto->protocol_name))
|
||||||
protocol_name = PR_GetString (pr, proto->protocol_name);
|
protocol_name = PR_GetString (pr, proto->protocol_name);
|
||||||
printf (" <%s>\n", protocol_name);
|
printf ("<%s>\n", protocol_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue