Commit daf5fa4f authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Minor stylistic tweak to message parser.

parent fb2da8b5
......@@ -404,15 +404,14 @@ parse_packet(const unsigned char *from, struct network *net,
debugf("Received unknown packet type %d from %s on %s.\n",
type, format_address(from), net->ifname);
}
done:
done:
i += len + 2;
continue;
fail:
fprintf(stderr, "Couldn't parse packet (%d %d).\n",
message[0], message[1]);
i += len + 2;
goto done;
}
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