Fix: handle new streams in get_data_packet()
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 25 Feb 2014 15:48:13 +0000 (10:48 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 25 Feb 2014 16:22:17 +0000 (11:22 -0500)
commitf312b3aa35382b62e9f8bd2c4cbdd9180490845e
treea64087a719febfec1d78611ff27297839b97308b
parent251fc08ca342edbca24b30492f0d02394ec11414
Fix: handle new streams in get_data_packet()

- don't skip ask_new_streams() if new metadata _and_
  new streams are available.
- goto retry after getting new streams.
- Add missing "ret = 0" assignment at the end of the function. Takes
  care of "possible use of uninitialized variables" warnings in the
  caller given by gcc.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/lttng-live/lttng-live-comm.c
This page took 0.026628 seconds and 4 git commands to generate.