projects
/
platform
/
core
/
system
/
dlog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60b8cf0
)
Initialize a value (fixes uninitialized access)
85/235185/2
author
Michal Bloch
<m.bloch@samsung.com>
Tue, 2 Jun 2020 11:09:28 +0000
(13:09 +0200)
committer
Michal Bloch
<m.bloch@partner.samsung.com>
Tue, 2 Jun 2020 14:58:21 +0000
(14:58 +0000)
Change-Id: I1984ea4fe7c3ec1748d73ca546c8e550e31c9224
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
src/libdlogutil/logretrieve.c
patch
|
blob
|
history
diff --git
a/src/libdlogutil/logretrieve.c
b/src/libdlogutil/logretrieve.c
index
3963a2d
..
fe68f78
100644
(file)
--- a/
src/libdlogutil/logretrieve.c
+++ b/
src/libdlogutil/logretrieve.c
@@
-181,6
+181,7
@@
int dlogutil_state_init(dlogutil_state_s *state, struct fd_info ***data_fds_ptr,
state->data_fds = data_fds;
state->monitor = monitor;
state->need_epoll = true;
+ state->flush_target = LONG_MAX;
*data_fds_ptr = NULL;
sort_vector_init(&state->logs);
state->filter_object = filter ? log_filter_from_filter(filter) : dlogutil_filter_options_create();