projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Standardize `!ptr` i/o `ptr == NULL`, `ptr` i/o `ptr != NULL`
[babeltrace.git]
/
src
/
plugins
/
ctf
/
common
/
metadata
/
decoder-packetized-file-stream-to-buf.c
diff --git
a/src/plugins/ctf/common/metadata/decoder-packetized-file-stream-to-buf.c
b/src/plugins/ctf/common/metadata/decoder-packetized-file-stream-to-buf.c
index e14c54d7907d542d3031795ea97e4633aba0a8ed..bf735827b180ff2ad2b90e44ca45eb1601edfa55 100644
(file)
--- a/
src/plugins/ctf/common/metadata/decoder-packetized-file-stream-to-buf.c
+++ b/
src/plugins/ctf/common/metadata/decoder-packetized-file-stream-to-buf.c
@@
-212,7
+212,7
@@
int ctf_metadata_decoder_packetized_file_stream_to_buf(FILE *fp,
size_t packet_index = 0;
out_fp = bt_open_memstream(buf, &size);
- if (
out_fp == NULL
) {
+ if (
!out_fp
) {
BT_COMP_LOGE("Cannot open memory stream: %s.",
strerror(errno));
goto error;
This page took
0.024592 seconds
and
4
git commands to generate.