xml 1.0
[lttv.git] / ltt / branches / poly / ltt / facility.c
index e3ed40ee96661b0731f4a694a8cda8337c84a187..0440efb4e05ee721a15d86f79cee8ee4cfacf3e0 100644 (file)
@@ -281,7 +281,11 @@ void construct_fields(LttFacility *fac,
   type_descriptor_t *td;
   LttType *type;
 
-  field->name = g_quark_from_string(fld->name);
+       if(fld->name)
+         field->name = g_quark_from_string(fld->name);
+       else
+               fld->name = 0;
+
   if(fld->description) {
     len = strlen(fld->description);
     field->description = g_new(gchar, len+1);
@@ -294,6 +298,7 @@ void construct_fields(LttFacility *fac,
   type->enum_map = NULL;
   type->fields = NULL;
   type->fields_by_name = NULL;
+       type->network = td->network;
 
   switch(td->type) {
     case INT_FIXED:
This page took 0.022447 seconds and 4 git commands to generate.