projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use "growing" `GArray` to store string field's payload
[babeltrace.git]
/
lib
/
lib-logging.c
diff --git
a/lib/lib-logging.c
b/lib/lib-logging.c
index eedcae710854dc6f12c428ace7c6e7b43d09bcfe..674546011f799d253e0e156f98e9848c8e6f7fab 100644
(file)
--- a/
lib/lib-logging.c
+++ b/
lib/lib-logging.c
@@
-334,10
+334,10
@@
static inline void format_field_common(char **buf_ch, bool extended,
struct bt_field_common_string *str =
BT_FROM_COMMON(field);
struct bt_field_common_string *str =
BT_FROM_COMMON(field);
- if (str->
payload
) {
- BT_ASSERT(str->
payload
);
+ if (str->
buf
) {
+ BT_ASSERT(str->
buf->data
);
BUF_APPEND(", %spartial-value=\"%.32s\"",
BUF_APPEND(", %spartial-value=\"%.32s\"",
- PRFIELD(str->
payload->str
));
+ PRFIELD(str->
buf->data
));
}
break;
}
break;
This page took
0.027814 seconds
and
4
git commands to generate.