Better indent
This commit is contained in:
parent
6034def186
commit
fd241b08f0
1 changed files with 7 additions and 7 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue