summaryrefslogtreecommitdiff
path: root/lib/examples
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2010-09-13 18:19:02 +0200
committerLinus Nordberg <linus@nordu.net>2010-09-13 18:19:02 +0200
commit9b2de1086cec920530e7eea51d56e459ffe0c5ff (patch)
tree7d29fc7d5e5833a7dd91d5bc470022b3576ed106 /lib/examples
parent1f755dd583baa870d03b86c91e35231525c14462 (diff)
Add a lost comment.
Diffstat (limited to 'lib/examples')
-rw-r--r--lib/examples/blocking.c2
1 files changed, 2 insertions, 0 deletions
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);