diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/examples/blocking.c | 2 |
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); |