projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add usertrace support
[lttv.git]
/
ltt
/
branches
/
poly
/
ltt
/
facility.c
diff --git
a/ltt/branches/poly/ltt/facility.c
b/ltt/branches/poly/ltt/facility.c
index 9a302d2a1c6c0bbe739c7e2ca40922cd288e67f6..0440efb4e05ee721a15d86f79cee8ee4cfacf3e0 100644
(file)
--- a/
ltt/branches/poly/ltt/facility.c
+++ b/
ltt/branches/poly/ltt/facility.c
@@
-281,7
+281,11
@@
void construct_fields(LttFacility *fac,
type_descriptor_t *td;
LttType *type;
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);
if(fld->description) {
len = strlen(fld->description);
field->description = g_new(gchar, len+1);
This page took
0.023415 seconds
and
4
git commands to generate.