diff options
author | Vratko Polak <vrpolak@cisco.com> | 2019-11-08 10:32:39 +0100 |
---|---|---|
committer | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-11-08 13:27:30 +0000 |
commit | 4f599850295162db48b81bcbf47983d46697d15f (patch) | |
tree | 8bbf2f27919ae8b94ab156a44d35545ba25300b2 | |
parent | 770a0deaadfb2d26cbc5da05f84578a7bd92e9d2 (diff) |
session: add space around ternary operator
Type: style
Change-Id: If28a4959c1d60ab1caf22dbc8b72d9adf7060bd4
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
-rw-r--r--[-rwxr-xr-x] | src/vnet/session/session_api.c | 2 | ||||
-rw-r--r--[-rwxr-xr-x] | src/vnet/session/session_cli.c | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c index add9370e3c8..6cff9ec6b05 100755..100644 --- a/src/vnet/session/session_api.c +++ b/src/vnet/session/session_api.c @@ -665,7 +665,7 @@ done: REPLY_MACRO2 (VL_API_APP_ATTACH_REPLY, ({ if (!rv) { - ctrl_thread = vlib_num_workers ()? 1 : 0; + ctrl_thread = vlib_num_workers () ? 1 : 0; ctrl_mq = session_main_get_vpp_event_queue (ctrl_thread); segp = a->segment; rmp->app_index = clib_host_to_net_u32 (a->app_index); diff --git a/src/vnet/session/session_cli.c b/src/vnet/session/session_cli.c index b03353e564a..b03353e564a 100755..100644 --- a/src/vnet/session/session_cli.c +++ b/src/vnet/session/session_cli.c |