minor bugfix
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 26 May 2004 21:08:34 +0000 (21:08 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 26 May 2004 21:08:34 +0000 (21:08 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@561 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/tracecontext.c

index b66f44f5340c46a0c0254c9a65ac75e45bda6cb1..56a483c2a37299228af6744c24cff29144039e2b 100644 (file)
@@ -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;
This page took 0.023991 seconds and 4 git commands to generate.