Date: Sat, 18 Nov 2023 18:25:58 +0700
From: Robert Elz <kre%munnari.OZ.AU@localhost>
Message-ID: <28754.1700306758%jacaranda.noi.kre.to@localhost>
| one way to do that might be
| if (sp2 = strchr(str, ']'))
And in that, sp2 isn't needed, just use sp instead, leading to
sp = strchr(sp, ':');
(etc).
kre