seek time revert
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 31 Aug 2005 00:08:19 +0000 (00:08 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 31 Aug 2005 00:08:19 +0000 (00:08 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1093 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/ltt/tracefile.c

index fc02bfed119c167c573978b421b6ffceb68db0dd..d3c6537326956e6aff339706372496118b63104e 100644 (file)
@@ -1431,7 +1431,7 @@ int ltt_tracefile_seek_time(LttTracefile *tf, LttTime time)
         if(ret == ERANGE) goto range; /* ERANGE or EPERM */
         else if(ret) goto fail;
 
-        if(ltt_time_compare(time, tf->event.event_time) < 0)
+        if(ltt_time_compare(time, tf->event.event_time) >= 0)
           goto found;
       }
 
@@ -1448,7 +1448,7 @@ int ltt_tracefile_seek_time(LttTracefile *tf, LttTime time)
         if(ret == ERANGE) goto range; /* ERANGE or EPERM */
         else if(ret) goto fail;
 
-        if(ltt_time_compare(time, tf->event.event_time) < 0)
+        if(ltt_time_compare(time, tf->event.event_time) >= 0)
           break;
       }
       goto found;
This page took 0.025325 seconds and 4 git commands to generate.