canlogserver: unify curly brackets in if statements

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
pull/504/head
Oliver Hartkopp 2024-03-06 12:01:39 +01:00
parent 6f7b146166
commit 7905b632ff
1 changed files with 3 additions and 3 deletions

View File

@ -421,11 +421,11 @@ int main(int argc, char **argv)
}
} else {
/* mark dual-use struct canfd_frame */
if (nbytes == CAN_MTU)
if (nbytes == CAN_MTU) {
cu.fd.flags = 0;
else if (nbytes == CANFD_MTU)
} else if (nbytes == CANFD_MTU) {
cu.fd.flags |= CANFD_FDF;
else {
} else {
fprintf(stderr, "read: incomplete CAN CC/FD frame\n");
return 1;
}