Project

General

Profile

Bug #415 » bug415-relayd.diff

David Goulet, 12/19/2012 01:32 PM

View differences:

src/bin/lttng-relayd/main.c
last_net_seq_num);
/* Avoid wrapping issue */
if (((int64_t) (stream->prev_seq - last_net_seq_num)) <= 0) {
if (((int64_t) (stream->prev_seq - last_net_seq_num)) >= 0) {
/* Data has in fact been written and is NOT pending */
ret = 0;
} else {
(5-5/5)