Better indent

This commit is contained in:
Quentin 2019-05-24 11:49:00 +02:00
parent 6034def186
commit fd241b08f0

View file

@ -139,7 +139,7 @@ void dump_buffer_packet(struct buffer_packet* bp) {
} }
void dump_abstract_packet(union abstract_packet* ap) { void dump_abstract_packet(union abstract_packet* ap) {
printf("<Abstract Packet>\n"); printf(" <Abstract Packet>\n");
printf(" size=%d, cmd=%d\n", ap->fmt.headers.size, ap->fmt.headers.cmd); printf(" size=%d, cmd=%d\n", ap->fmt.headers.size, ap->fmt.headers.cmd);
switch (ap->fmt.headers.cmd) { switch (ap->fmt.headers.cmd) {
case CMD_HEALTH: case CMD_HEALTH:
@ -159,9 +159,9 @@ void dump_abstract_packet(union abstract_packet* ap) {
printf(" <Xor>Unimplemented</Xor>\n"); printf(" <Xor>Unimplemented</Xor>\n");
break; break;
default: default:
printf(" <Unknown/>"); printf(" <Unknown/>\n");
break; break;
} }
printf("</Abstract Packet>"); printf(" </Abstract Packet>\n");
} }