"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Stefan Sperling <stsp@stsp.name>
Subject:
Re: types {} block for gotwebd
To:
Omar Polo <op@omarpolo.com>
Cc:
gameoftrees@openbsd.org
Date:
Mon, 8 Dec 2025 09:20:26 +0100

Download raw body.

Thread
On Mon, Dec 08, 2025 at 02:19:29AM +0100, Omar Polo wrote:
> +mediastring	: STRING '/' STRING	{
> +			if (mediatype_ok($1) == -1 || mediatype_ok($3)) {

Should we check against == -1 in both cases, for clarity?
That's the only odd thing I noticed, and it is merely a cosmetic issue.

Ok by me, thanks!