greghaynes/Afproto — pull request #1 by cosmonaut (2012-06-20 07:16:34+00:00)
Title: Payload length

In the embedded C section afproto_get_payload was setting payload_length to the legnth of the payload with escape bytes included. I changed it to just set payload_length to the number of bytes it wrote to the payload buffer. I also added a quick test I used to check this length deal.