projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change -EOF for EOF (it is worth -1), fix assertion
[babeltrace.git]
/
formats
/
ctf
/
ctf.c
diff --git
a/formats/ctf/ctf.c
b/formats/ctf/ctf.c
index 24b754df034192cdb4f617dbeb23b50901eda22f..625b1c097a9de02eab852e1d4d9e9c6273177fa3 100644
(file)
--- a/
formats/ctf/ctf.c
+++ b/
formats/ctf/ctf.c
@@
-189,7
+189,7
@@
void ctf_move_pos_slow(struct ctf_stream_pos *pos, size_t offset, int whence)
assert(0);
}
if (pos->cur_index >= pos->packet_index->len) {
- pos->offset =
-
EOF;
+ pos->offset = EOF;
return;
}
index = &g_array_index(pos->packet_index, struct packet_index,
This page took
0.023142 seconds
and
4
git commands to generate.