projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Combine duplicated API/pretty-print timestamp code
[babeltrace.git]
/
formats
/
ctf-text
/
types
/
enum.c
diff --git
a/formats/ctf-text/types/enum.c
b/formats/ctf-text/types/enum.c
index 12031c242fef048c6de3687636fd211790456405..b973d494b195dcd67d65931979b3d28dc06996a7 100644
(file)
--- a/
formats/ctf-text/types/enum.c
+++ b/
formats/ctf-text/types/enum.c
@@
-44,7
+44,7
@@
int ctf_text_enum_write(struct stream_pos *ppos, struct definition *definition)
fprintf(pos->fp, " ");
if (pos->print_names)
fprintf(pos->fp, "%s = ",
fprintf(pos->fp, " ");
if (pos->print_names)
fprintf(pos->fp, "%s = ",
-
g_quark_to_string(definition->name
));
+
rem_(g_quark_to_string(definition->name)
));
field_nr_saved = pos->field_nr;
pos->field_nr = 0;
field_nr_saved = pos->field_nr;
pos->field_nr = 0;
This page took
0.023796 seconds
and
4
git commands to generate.