session: fix compilation when SESSION_DEBUG is on 50/39450/5
authorFlorin Coras <fcoras@cisco.com>
Mon, 28 Aug 2023 06:30:39 +0000 (23:30 -0700)
committerDave Wallace <dwallacelf@gmail.com>
Thu, 31 Aug 2023 01:05:15 +0000 (01:05 +0000)
commit1765f014bc7fcc3b924019ec96350eb50bef629f
tree62529965ff45337299d7aabd8ecc2884e9916be9
parent8d61c59c3f1e05e49b89a700a1640aa9bcebc6b8
session: fix compilation when SESSION_DEBUG is on

Wrap SESSION_EVT in do loop to avoid complaints about if statement
having no arguments which can happen if debugging for groups is not
enabled.

Type: fix

Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I35af179b806ed47a1e20816a19291c31fdb7566a
src/vnet/session/session_debug.h