Client example: extract duplicate code 11/276611/2
authorMichal Bloch <m.bloch@samsung.com>
Tue, 21 Jun 2022 20:15:46 +0000 (22:15 +0200)
committerMichal Bloch <m.bloch@samsung.com>
Wed, 22 Jun 2022 13:05:37 +0000 (15:05 +0200)
commitd7ab58b660df5f821f3c1e914fb705098a33617a
tree4b8870a09b87ea823555064d7762dac56e9a2051
parent287acc8cfb4d6be7c7e7a7dd15a850f622ecca4a
Client example: extract duplicate code

 * changes a loop condition to the first-last form,
   which is equivalent and used everywhere else.

 * changes `switch_user_test` to return bool to
   conform with the new convention I am in the
   process of enforcing.

Change-Id: Id233a33ab0f0977b4e6ce660457761ce27520c8e
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
clientExample/app/main.cpp