From 542ceddd71b4a9e5d603009632a60fdf4e77fd91 Mon Sep 17 00:00:00 2001 From: yangxx Date: Wed, 23 Jul 2003 18:19:29 +0000 Subject: [PATCH] git-svn-id: http://ltt.polymtl.ca/svn@130 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/ltt/tracefile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index f1751514..80864917 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -150,7 +150,7 @@ void ltt_tracefile_open_control(LttTrace *t, char * control_name) g_ptr_array_add(t->control_tracefiles,tf); //parse facilities tracefile to get base_id - if(strcmp(control_name,"facilities") ==0){ + if(strcmp(&control_name[strlen(control_name)-10],"facilities") ==0){ while(1){ ev = ltt_tracefile_read(tf); if(!ev)return; // end of file -- 2.34.1