From 9b2de1086cec920530e7eea51d56e459ffe0c5ff Mon Sep 17 00:00:00 2001 From: Linus Nordberg Date: Mon, 13 Sep 2010 18:19:02 +0200 Subject: Add a lost comment. --- lib/examples/blocking.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/examples/blocking.c b/lib/examples/blocking.c index f72eab4..35650ea 100644 --- a/lib/examples/blocking.c +++ b/lib/examples/blocking.c @@ -23,6 +23,8 @@ next_packet (const struct rs_config *ctx, int fd) p = rs_packet_new (ctx, hdr, &len); fprintf (stderr, "DEBUG: got header, total packet len is %d\n", len + RS_HEADER_LEN); + + /* Read the rest of the message. */ if (p) { buf = malloc (len); -- cgit v1.1