aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2018-07-19 16:36:25 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2018-07-19 16:37:18 +0200
commite9eac354b586b58b3c006d2d8de5e6046daf6f75 (patch)
tree9e8c5bab380b05b46ab821da8ef0672eb0b3507a
parentb798adf312fe0510d8a26dec7f57dacfefcd275c (diff)
afb-trace: Fix bug in session handling
A copy-paste error! Change-Id: Iaf7bd9f3cbd62cddfbab04fecc685f334f983175 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r--src/afb-trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-trace.c b/src/afb-trace.c
index 1b82f2b2..11ac1c91 100644
--- a/src/afb-trace.c
+++ b/src/afb-trace.c
@@ -1600,7 +1600,7 @@ static void add(void *closure, struct json_object *object)
wrap_json_optarray_for_all(event, add_evt_flags, &desc);
if (session)
- wrap_json_optarray_for_all(event, add_session_flags, &desc);
+ wrap_json_optarray_for_all(session, add_session_flags, &desc);
if (global)
wrap_json_optarray_for_all(global, add_global_flags, &desc);