portablectl: reorder if branches to match previous conditional in the same function
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 3 Mar 2022 17:56:06 +0000 (18:56 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 10 Mar 2022 12:54:30 +0000 (12:54 +0000)
commitb57a0605dd294c00ed34d7bad08a9c33f9810a2d
tree32ec83663d942e85f2d07f6a21a0c62a2d992cc9
parenta45c9f5ab4cce4f7624c1ab34883022777f4019a
portablectl: reorder if branches to match previous conditional in the same function

One is a ternary op, the other an normal conditional, but they should still use
the same order of branches.

(cherry picked from commit 573e33de078956ded078653ef3f90f93469b4dbf)
(cherry picked from commit 7856dc310906cb8b09d27b7175b322129bd619b6)
src/portable/portablectl.c