Commit daf5fa4f authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Minor stylistic tweak to message parser.

parent fb2da8b5
...@@ -405,14 +405,13 @@ parse_packet(const unsigned char *from, struct network *net, ...@@ -405,14 +405,13 @@ parse_packet(const unsigned char *from, struct network *net,
type, format_address(from), net->ifname); type, format_address(from), net->ifname);
} }
done: done:
i += len + 2; i += len + 2;
continue; continue;
fail: fail:
fprintf(stderr, "Couldn't parse packet (%d %d).\n", fprintf(stderr, "Couldn't parse packet (%d %d).\n",
message[0], message[1]); message[0], message[1]);
i += len + 2; goto done;
} }
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment