From: compudj Date: Wed, 26 May 2004 21:08:34 +0000 (+0000) Subject: minor bugfix X-Git-Tag: v0.12.20~2928 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=aa78b7113d761d1acbe3f3dae6a43b4c6cdfbd31;p=lttv.git minor bugfix git-svn-id: http://ltt.polymtl.ca/svn@561 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/lttv/lttv/tracecontext.c b/ltt/branches/poly/lttv/lttv/tracecontext.c index b66f44f5..56a483c2 100644 --- a/ltt/branches/poly/lttv/lttv/tracecontext.c +++ b/ltt/branches/poly/lttv/lttv/tracecontext.c @@ -637,8 +637,8 @@ guint lttv_process_traceset_middle(LttvTracesetContext *self, if(last_ret == TRUE || count >= nb_events || - lttv_traceset_context_ctx_pos_compare(self, - end_position) >= 0 || + (end_position!=NULL)?FALSE:lttv_traceset_context_ctx_pos_compare(self, + end_position) >= 0 || ltt_time_compare(tfc->timestamp, end) >= 0) { return count;