From: yangxx Date: Thu, 14 Aug 2003 20:41:38 +0000 (+0000) Subject: git-svn-id: http://ltt.polymtl.ca/svn@177 04897980-b3bd-0310-b5e0-8ef037075253 X-Git-Tag: v0.12.20~3312 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fe974fde3467cfd184c75d94222eed8c6af41052;p=lttv.git git-svn-id: ltt.polymtl.ca/svn@177 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/ltt/facility.c b/ltt/branches/poly/ltt/facility.c index b1c26baa..3cd638d5 100644 --- a/ltt/branches/poly/ltt/facility.c +++ b/ltt/branches/poly/ltt/facility.c @@ -74,6 +74,7 @@ void ltt_facility_open(LttTrace * t, char * pathname) generateChecksum(fac->name, &checksum, &fac->events); f = g_new(LttFacility,1); + f->base_id = 0; generateFacility(f, fac, checksum); t->facility_number++; diff --git a/ltt/branches/poly/ltt/type.c b/ltt/branches/poly/ltt/type.c index 1f21f2c9..710803de 100644 --- a/ltt/branches/poly/ltt/type.c +++ b/ltt/branches/poly/ltt/type.c @@ -241,7 +241,7 @@ LttType *ltt_type_member_type(LttType *t, unsigned i, char ** name) { if(t->type_class != LTT_STRUCT){*name == NULL; return NULL;} if(i >= t->element_number || i < 0 ){*name = NULL; return NULL;} - *name = t->element_name; + *name = t->element_type[i]->element_name; return t->element_type[i]; }