git-svn-id: http://ltt.polymtl.ca/svn@176 04897980-b3bd-0310-b5e0-8ef037075253
authoryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 14 Aug 2003 19:30:15 +0000 (19:30 +0000)
committeryangxx <yangxx@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 14 Aug 2003 19:30:15 +0000 (19:30 +0000)
ltt/branches/poly/ltt/tracefile.c

index e742285468368a76272fff78d6a73d7201926cd6..a44d81cdbf8fbe27e540b209c979db774d9f7bc7 100644 (file)
@@ -551,7 +551,7 @@ unsigned ltt_trace_facility_find(LttTrace *t, char *name, unsigned *position)
 {
   int i, count=0;
   LttFacility * f;
-  for(i=0;i=t->facility_number;i++){
+  for(i=0;i<t->facility_number;i++){
     f = (LttFacility*)g_ptr_array_index(t->facilities, i);
     if(strcmp(f->name,name)==0){
       count++;
This page took 0.024433 seconds and 4 git commands to generate.