Use static greeting buffers.

This commit is contained in:
Ian Gulliver
2016-02-27 16:23:26 -08:00
parent 8d9b40e954
commit 071613d061
9 changed files with 49 additions and 48 deletions

View File

@@ -180,10 +180,6 @@ bool beast_parse(struct buf *buf, struct packet *packet, void *state_in) {
}
void beast_serialize(struct packet *packet, struct buf *buf) {
if (!packet) {
return;
}
switch (packet->type) {
case PACKET_TYPE_NONE:
break;