summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session_api.c
diff options
context:
space:
mode:
authorVratko Polak <vrpolak@cisco.com>2019-11-08 10:32:39 +0100
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2019-11-08 13:27:30 +0000
commit4f599850295162db48b81bcbf47983d46697d15f (patch)
tree8bbf2f27919ae8b94ab156a44d35545ba25300b2 /src/vnet/session/session_api.c
parent770a0deaadfb2d26cbc5da05f84578a7bd92e9d2 (diff)
session: add space around ternary operator
Type: style Change-Id: If28a4959c1d60ab1caf22dbc8b72d9adf7060bd4 Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'src/vnet/session/session_api.c')
-rw-r--r--[-rwxr-xr-x]src/vnet/session/session_api.c2
1 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);