diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2023-11-13 13:52:42 +0100 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2023-11-13 13:52:42 +0100 |
commit | 82934b7271ad11332cdc291188e6b51e9534c301 (patch) | |
tree | 6f48d177a1a047878c54db75b9945aa0e3242eea /examples/c-simple/c-simple.c | |
parent | 4920b2a4be62b85b6355278fe0d63637bddb624f (diff) |
Fixed clang-tidy warnings.
* fixed/improved c-captured logging
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'examples/c-simple/c-simple.c')
-rw-r--r-- | examples/c-simple/c-simple.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/c-simple/c-simple.c b/examples/c-simple/c-simple.c index 642611f07..29321c963 100644 --- a/examples/c-simple/c-simple.c +++ b/examples/c-simple/c-simple.c @@ -58,7 +58,7 @@ static void nDPIsrvd_write_flow_info_cb(struct nDPIsrvd_socket const * sock, #endif flow->last_seen, flow->idle_time, - (flow->last_seen + flow->idle_time >= thread_data->most_recent_flow_time + (thread_data != NULL && flow->last_seen + flow->idle_time >= thread_data->most_recent_flow_time ? flow->last_seen + flow->idle_time - thread_data->most_recent_flow_time : 0)); } |